Jemalloc 5.4.0 is on HN and the Rails advice is the same as ever. Most Puma memory bloat is glibc handing every thread its own arena. MALLOC_ARENA_MAX=2 recovers most of what jemalloc does, free. And since Rails 7.2 the default Dockerfile already LD_PRELOADs libjemalloc2. #RubyOnRails #PostgreSQL
Citus distributed EXPLAIN breaks complex queries into task trees: shard scans, network transfers, coordinator aggregation. Spot bottleneck tasks fast https://www.valtersit.com/vault/auditing-distributed-query-execution-plans-with-citus-distri-237187/ #postgresql #citus #explain
