pengw00 / systm-design

0 stars 0 forks source link

Designing inflatable Microservices Architecture #6

Open pengw00 opened 4 years ago

pengw00 commented 4 years ago

microservices

pengw00 commented 4 years ago

Principle 1: Modular Code — Monolithic deployment module-service Inflatable MSA is for small loads (~10k reqs per day) — where the organization will eventually evolve to some level of complexity justifying MSA. Split each service into specific files and route it using a single router file. The entire code sits inside a single docker image. The image is deployed to a single vertically scaling Kubernetes cluster. Inter-service communication happens through the router, using REST. A single DB contains various documents, scoped by service domains. Native queues are used for asynchronous communication.

pengw00 commented 4 years ago

https://medium.com/swlh/designing-inflatable-microservices-architecture-9976e63ad820