Friday, March 11, 2016

Microservices and Database Schemas

As you know Microservices is getting popularity, but most applications may not warrant Microservices architecture. As we don’t know how our applications scale in future, I recommend following the Microservices pattern for these applications also. When the application grows and becomes a candidate for Microservice, then we are already halfway through.

In my opinion Database partition (one database for each service) is one of the toughest parts. In order to do future proof, I recommend partitioning database utilizing the database schemas. As you know database schema is a logical separation of database objects. Using this schema approach we can mimic focused micro databases without the actual overhead of multiple database, complexity and cost.

No comments:

Post a Comment