Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Build Applications with Meteor

You're reading from   Build Applications with Meteor Isomorphic JavaScript web development

Arrow left icon
Product type Paperback
Published in May 2017
Publisher Packt
ISBN-13 9781787129887
Length 388 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Dobrin Ganev Dobrin Ganev
Author Profile Icon Dobrin Ganev
Dobrin Ganev
Arrow right icon
View More author details
Toc

Building the apps


We can start from the embedded app, which will be very close to what we just did. Before we start writing the code, we need to figure out the data flow between the machines.See the following diagram:

You probably already noticed that the embedded devices are gRPC servers instead of clients and our middle app, the Gateway between the sensors and the cloud is a gRPC client and a server. The other way around is probably the easiest and the least complicated setup where all the sensors are clients that connect to one gRPC server (the Gateway). There is one reason this setup may not work in some cases and all depends on the IT rules and the infrastructure of the company.

For example, if this is a residential home with wired sensors to the home network, it makes perfect sense to have them as gRPC clients who connect directly to a Gateway machine or even directly to the cloud. In the enterprise often it is not that simple. Usually, these devices will be sitting behind a firewall...

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 €18.99/month. Cancel anytime