Kubernetes: liveness & readiness probes with Nginx and PHP-FPM

Last time I wrote about linking PHP-FPM and Nginx on Kubernetes (but also Docker). It is very common configuration because PHP is so popular as backend and Nginx offers great performance with low resources usage. If we use such mix, we should also think more about proper health check in our cluster. Without that, it … Continue reading Kubernetes: liveness & readiness probes with Nginx and PHP-FPM

Database migration – do not trust framework

Database Migration

In theory working with different databases is not a big problem, because framework can handle everything for you. In real world scenarios, there a lot of strange caveats. Last month's my team works with huge and extraordinarily complex database migration. Process looked and something impossible, but "mission impossible" is exactly something for us. But of … Continue reading Database migration – do not trust framework