Productboard Technology RadarProductboard Technology Radar

Database per service

Adopt

Adopting a 'database per service' is crucial for service independence and data encapsulation. By allocating a dedicated database schema to each service, we ensure that the services are loosely coupled and can be developed, scaled, and maintained independently.

It is possible for two services to use the same database server or even the same database. The key is that each service has its own database schema and there is no sharing of the same tables between services (even just for read).

📚 Resources

What is a service Database per service pattern