nginx

http://nginx.org/en/docs/http/load_balancing.html
https://hub.docker.com/_/nginx

We run in Amazon AWS, so we use their Application Load Balaner (ALB). We do use 
nginx for other things.

wunder
Walter Underwood
wun...@wunderwood.org
http://observer.wunderwood.org/  (my blog)

> On Feb 11, 2019, at 8:57 AM, Boban Acimovic <b...@it-agenten.com> wrote:
> 
> Can you mention one dockerized load balancer? Or even better one with Helm 
> chart?
> 
> 
> Like I said, I send all updates at the moment just to one out of 12 nodes.
> 
>> On 11. Feb 2019, at 17:52, Walter Underwood <wun...@wunderwood.org> wrote:
>> 
>> Why would you want to write a load balancer when there are so many that are 
>> free and very fast?
>> 
>> For update traffic, there is very little benefit in sending updates directly 
>> to the shard leader. Forwarding an update to the leader is fast. Indexing is 
>> slow. So the bottleneck is always at the leader.
>> 
>> Before you build anything, measure. Collect a large update and send that 
>> directly to the leader. Then do the same to a non-leader shard. Compare the 
>> speed. If you are batching and indexing with multiple threads, I doubt 
>> you’ll see a meaningful difference. I commonly see 10% difference in 
>> identical load benchmarks, so the speedup has to be much larger than that to 
>> be real.
>> 
>> wunder
>> Walter Underwood
>> wun...@wunderwood.org
>> http://observer.wunderwood.org/  (my blog)

Reply via email to