Search icon CANCEL
Subscription
0
Cart icon
Cart
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Learning IoT with Particle Photon and Electron

You're reading from  Learning IoT with Particle Photon and Electron

Product type Book
Published in Sep 2016
Publisher
ISBN-13 9781785885297
Pages 136 pages
Edition 1st Edition
Languages
Authors (3):
Rashid Khan Rashid Khan
Profile icon Rashid Khan
Kajari Ghoshdastidar Kajari Ghoshdastidar
Profile icon Kajari Ghoshdastidar
Ajith Vasudevan Ajith Vasudevan
Profile icon Ajith Vasudevan
View More author details
Toc

Local server setup


As we have seen earlier, Particle provides a cloud-based development environment for building and deploying code to its devices. The Particle cloud is also the gateway through which all communication to and from the Particle device happens. This works well if you have a good Internet connection, however, it may become slow and unreliable if you have a slow connection. This becomes a problem in certain situations where you need to access the board, for example, to read values from it in real time. Your application may require real-time performance, which the cloud-based setup may not be able to guarantee.

By using the Particle cloud, data from your board located in your living room is sent to the server on the Internet, and data comes back from the Internet server to your home router that is also in the same living room. All the traffic over the relatively slow Internet adds latency to the data flow, even when the devices are in the same local network.

The problem just discussed...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}