Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Learning IoT with Particle Photon and Electron

You're reading from   Learning IoT with Particle Photon and Electron Develop applications on one of the most popular platforms for IoT using Particle Photon and Electron with this fast-paced guide

Arrow left icon
Product type Paperback
Published in Sep 2016
Publisher
ISBN-13 9781785885297
Length 136 pages
Edition 1st Edition
Arrow right icon
Authors (2):
Arrow left icon
Kajari Ghoshdastidar Kajari Ghoshdastidar
Author Profile Icon Kajari Ghoshdastidar
Kajari Ghoshdastidar
Ajith Vasudevan Ajith Vasudevan
Author Profile Icon Ajith Vasudevan
Ajith Vasudevan
Arrow right icon
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 $19.99/month. Cancel anytime
Banner background image