Microservices and Clusters

Asked

Viewed 105 times

2

Good morning. I have a question about clusters and Microservices.

What is the right way to deploy microservice, one per cluster? Or it could be more?

I will exemplify:
I have an app that is formed by 10 microservices. Each microservice has 2 containers, 1 for the "skeleton" mvc other for the database.
So at all use 20 containers (without scaling).

api-cadastro-de-pessoa -> 2 containers
api-cadastro-de-produtos -> 2 containers
api-carrinho-de-compra -> 2 containers
e assim vai.

Is it right for me to deploy an api per cluster? I’m learning in Azure with Kubernetes. It was worth the attention

1 answer

1


There is no right way to do it, of course it can exist to form more coherent for you. Each case is a case, if I was with the same problem as you I user only 1 cluster depending on the demand, it all depends on the configuration of your machine and the request number for your application.

If you are using Node below 200k/req I think it will look good despite using 1 thread.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.