Writing tests to validate behaviour in a multi-tenancy, multi-database app can be challenging. “Lock wait timeout” errors, or transactions cleaned up in one db and not another – it can be very frustrating! Fortunately, Laravel has a way to support db transactions across multiple databases.
PHP
Modular Monoliths: Creating Real Boundaries Before Reaching for Microservices
A deep dive into modular monoliths, from module APIs and database ownership to cross-module communication, architecture tests, incremental migration, and the signals that justify microservices. Read more