Generic applications
Generic applications, such as web apps or mobile app backends, usually involve calls to remote services and databases. For such cases, it can be useful to take advantage of asynchronous frameworks, such as the ones presented in Chapter 6, Implementing Concurrency; this will improve application logic, system design, responsiveness and, also, it will simplify the handling of network failures.
Use of asynchronous programming also makes it easier to implement and use microservices. A microservice, although there is no standard definition, can be thought of as a remote service that focuses on a specific aspect of the application (for example, authentication).
The idea behind microservices is that you can build an application ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access