Evaluation of Data Storage Patterns in Microservices Archicture

Kindson Munonye, Péter Martinek · 2020

A microservice is an architectural style that structures an application as group of loosely-coupled services that are independently deployable and centered around the business capabilities. Since microservices are a shift from the conventional monolithic application which normally uses a relational database backend, it becomes essential that attention be given to data storage structure for Microservices. In this research, we would examine five possible data storage patterns for microservices. The evaluation would include setting up prototypes and evaluating the performance of both RDBMS and document-store enabled data stores for microservice architecture. To carry out the evaluations, the five existing patterns for data persistence in microservice architecture were modeled: shared database, per-service pattern(3 variations) and the CQRS/EV pattern. Then a simplified hypothetical Electronic Medical Record(EMR) was designed and implemented using of the five existing patterns under consideration. The results of the evaluation in terms of performance and resource utilization are presented in this work.

Read the paper · More papers on PaperTik