10 Persistent state management with databases
This chapter covers
- Storing data and authenticating users with MongoDB
- Using PostgreSQL from Vert.x
- Testing strategies for integration testing of event-driven services that interact with databases
Reactive applications favor stateless designs, but state has to be managed somewhere.
Databases are essential in most applications, because data needs to be stored, retrieved, and queried. Databases can store all kinds of data, such as application state, facts, or user credentials. There are different types of databases on the market: some are generalist and others are specialized for certain types of use cases, access patterns, and data.
In this chapter we’ll explore database and state management with ...
Get Vert.x in Action now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.