Persistent microservices have to store and load data. If you want to keep this data organized and reliable, you should use a database. Rust has third-party crates that support popular databases, and in this chapter, you'll learn about how to use different databases with Rust, including the following:Â
- PostgreSQL
- MySQL
- Redis
- MongoDB
- DynamoDB
We will create utilities that will allow you to insert or remove data to and from the database, and to query the data held in the database.