Everything on database.
3 articles tagged database, sorted newest first.
Laravel Read Replicas: Route Reads to a Follower Without Serving Stale Data
The read/write split is four lines of config. The read-after-write bugs that turn up a fortnight later are the actual work — and sticky only covers one of them.
Run Laravel Behind PgBouncer in Transaction Mode Without Breaking Booleans
PgBouncer's transaction mode breaks PDO prepared statements, and the classic emulated-prepares workaround then breaks your boolean columns. Laravel 13.17 fixes both properly.
Auto-Delete Stale Records with Laravel's Prunable Trait
Some tables only ever grow. Here's how Laravel's Prunable trait deletes stale rows on a schedule — safely, in chunks, with a hook for cleaning up related files.