O'Reilly logo

Getting Started with the Internet of Things by Cuno Pfister

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Push Versus Pull

There are four basic ways in which your device may communicate with another computer on the Web:

  1. Device is the client, pushing data to a server

  2. Device is the client, pulling data from a server

  3. Device is the server, providing data to clients

  4. Device is the server, accepting data from clients

These patterns can be visualized as shown in Figure 4-5. A black arrow indicates the direction of a request message and a dotted arrow indicates the direction in which data flows, i.e., in which direction a resource representation is sent.

Four basic web interaction patterns

Figure 4-5. Four basic web interaction patterns

In monitoring applications, a device produces data, i.e., measurements ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required