Below you will find pages that utilize the taxonomy term “Investigation”
Postgres replication part 1 (of potentially 1)
As is often the case when dealing with servers, there are outdated versions. The reason is almost always the same: there wasn't enough time to keep things up to date.
It makes sense — sticking to the LTS of anything is hard work. You have a working system, and even if it's a fairly uncomplicated beast, updating dependencies to a new version is rarely simple. It might seem like everything is fine, but then on a Saturday at 01:30, things start breaking down because that once- in-a-blue-moon event without a unit test executes — and it depends on that one deprecated functionality nobody really needed.
Varnish woes
Varnish woes
Recently (*) at work, I was seeing some really odd behavior: browsers were requesting static files and getting truncated results.
The setup
Router
Basic router routing the traffic to the correct HA Proxy.
HA Proxy
HA Proxy is the edge and SSL terminator. It identifies the client, drops bad actors, and forwards the traffic to the next step.
Varnish
Varnish is used for routing the traffic to the right place and, of course, caching content that should be cached.