Ananto30 / zero

Zero: A simple and fast Python RPC framework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Scalability question

cr0hn opened this issue · comments

commented

Hi! Thanks for this project. It’s really nice.

I was thinking about how to scale zero services. I have some ideas, but I would like to listen to your opinions.

My first idea (and the most simple) is to use a TCP load balancer (like haproxy).

Thank you @cr0hn

The scaling is kind of similar to other HTTP services. If you check the Order management example, Docker is used. So we can put this in the Kubernetes cluster and do replicas. Any containerization can be used.

And the simplest one is spawn multiple servers in different ports (if on the same machine) then use a load balancer. And yes, any TCP load balancer would work.

commented

Thx man