Hacker News new | past | comments | ask | show | jobs | submit login

We had to stick to layer 4/TCP via an ELB (as opposed to an ALB).



gRPC connections are persistent, so a single client will always talk to a single backend in that configuration. It's fine if you have lots of clients but can easily lead to load imbalances.

That's why projects such as Envoy exist. I'd link it, but I'm on mobile.

Keep an eye on it.


You can use round robin load balancing in gRPC without Envoy.


And it's not difficult to swap it out for a consistent hash balancer or other solution.


You are doing L4 load balancing with the ELB? So you can’t do sticky session management? Is that a problem you run into, if so, how did you handle it?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: