Laravel async vs Octane

php dev.to

How much can you speed up Laravel if you handle requests in coroutines instead of blocking workers? We benchmarked TrueAsync (native PHP coroutines) against three Laravel Octane configurations. The Benchmark Environment OS: WSL2 (Linux 5.15), 16 cores, 7.8 GB RAM DB: PostgreSQL 16 (max_connections=500) Load tool: k6, constant-arrival-rate, 1,000 req/s for 30 seconds Parameter TrueAsync FrankenPHP Octane Swoole (NTS) Octane Swoole (ZTS) Octane FrankenPHP PHP 8

Read Full Tutorial open_in_new
arrow_back Back to Tutorials