⚒️Thor, the Norseman⚒️ er en bruker på snabeltann.no. Du kan følge dem eller kommunisere med dem hvis du har en konto hvor som helst i fediverset. Hvis du ikke har en konto så kan du registrere deg her.

Is HAProxy still the king when it comes to DIY load balancer setups?

I need to play with it if that is indeed the case.

I don't really have a proper use case for a load balancer setup personally so the setup will be for fun and learning

#sysadmin

looking at the companies that use it, I'm gonna go with yes:

haproxy.org/they-use-it.html

"As described in this highscalability article (slides here), YouPorn stacks HAProxy, Varnish and Nginx to achieve 300000 requests per second and 100 Gbps of traffic, all of this producing 15 GB of logs per hour. With numbers 10 times larger than any of the other sites listed here, it looks like porn will always be most of the net's traffic !"

What percentage of internet traffic is porn? 🤔

one setup that will be useful to me is to use Varnish to cache my WordPress installs

I was worried about TLS termination but turns out you can still use nginx for TLS termination and then proxy_pass the decrypted traffic to Varnish like so:

linode.com/docs/websites/varni

⚒️Thor, the Norseman⚒️

@staticsafe Once I discovered that Varnish lacked TLS, and that Nginx can actually do many of the things I wanted to use Varnish for, I kind of started wondering what I needed Varnish for exactly...