Summary
In this chapter we have explored three ways to operate over data using asynchronous programming. In many use cases, the management of state in an application requires the inclusion of a database server to persist the data, which is a good fit for asynchronous programming. In Python there are several ways to harness database engines:
- As in-process tools that handle direct connections from your source code
- As external dependencies in a client/server architecture
- As an abstraction provided by ORMs
Finally, remember that databases are not the only way to handle structured data in Python, and that other use cases exist that involve data wrangling and which could benefit from asynchronous programming. In the following chapter we’re going to explore one of the most important of these: data pipelines.
Get This Book’s PDF Version and Exclusive ExtrasScan the QR code... |