[API Patterns] Weekly Digest 2023–05–12

Two more chapters published:

Chapter 20. Lists and Accessing Them

In the previous chapter, we concluded with the interface that allows minimizing collisions while creating orders. However, an attentive reader might notice that this interface violates the recommendation we previously gave in the “Describing Final Interfaces” chapter: the returned data volume must be limited.

Chapter 21. Bidirectional Data Flows. Push and Poll Models

Polling is the most common approach to organizing two-way communication in an API when a partner needs not only to send data to the server but also to receive notifications from the server about changes in some state. Although this approach is quite easy to implement, polling always requires a compromise between responsiveness, performance, and system throughput.

--

--