2

Exploring the Multiple Database Flavors

As a system evolves, especially within a microservices architecture, it becomes necessary to implement a polyglot persistence strategy to accommodate the individual needs of decoupled and independent services. This involves examining various options for storing data, including Database Management Systems (DBMSs) such as relational, NoSQL, and NewSQL databases. It is important to consider the application’s use case scenarios for each type of database in order to avoid overengineering the architectural design.

In this chapter, we will delve into the characteristics and advantages of both traditional relational databases and newer non-relational databases. We will also take a closer look at NewSQL databases ...

Get Persistence Best Practices for Java Applications 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.