
HAProxy as a load balancer in front of two web servers
Published on
HAProxy ends TLS and spreads visitors across two web servers. The configuration, why it says leastconn rather than roundrobin, and how to update a server without anyone noticing.
Reusable ideas, independently built.
I build these on my own — the idea, the code, and the server they run on. No team, no roadmap, and nothing announced before it exists.
Hand over an OpenAPI specification and get a finished PHP Composer package back: typed models, a client, the operations and the authentication.
See what you get
An API rarely keeps exactly to its own description. The blog post says what that means for the generated code, and why it is strictly typed all the same.
Read the post

Published on
HAProxy ends TLS and spreads visitors across two web servers. The configuration, why it says leastconn rather than roundrobin, and how to update a server without anyone noticing.

Published on
With spatie/laravel-data one class describes what an endpoint accepts. Validation, error messages and types follow from it. With an example and the places that trip you up.

Published on
An OpenAPI description says what an API should do. The API often does something else. What that means for a generated PHP client, and how Lax, Strict and Option deal with it.
I am Dominic, a computer science graduate and a full-stack developer since 2007. What I built before this, why the site looks the way it does, and what I am open to.
More about me