laravel / octane

Supercharge your Laravel application's performance.
https://laravel.com/docs/octane
MIT License
3.76k stars 293 forks source link

Looking forward to supporting coroutines #720

Closed cccdz closed 1 year ago

cccdz commented 1 year ago

Looking forward to supporting coroutines

leonvd6 commented 1 year ago

@driesvints Any update on supporting coroutines?

At the moment If I understand it correctly: If I have 4 Swoole workers and I sleep(1000) on them the 5th request will hang? So to solve this problem I need to increase the amount of workers.

E.g If all my requests take exactly 1 second, and I want guaranteed 40 requests per second I'll need a mininum of 40 Swoole workers.