Open Rastusik opened 3 years ago
@k911 I was finally able to get some time to create a working POC, what do you think about it? Btw. is this project still maintained?
@Rastusik looks good for me. Currently, I don't develop anything so we might say it's not maintained properly.
Is your feature request related to a problem? Please describe. Current architecture of the swoole bundle expects the swoole http server process to handle exactly one request at once. I would like to enable cooperative scheduling by enabling the swoole IO functions coroutine hooks to be able to handle multiple requests concurrently, as the usage if Swoole was intended by design.
Describe the solution you'd like The bundle should have a configuration option (e.g.
cooperative_scheduling
) which would enable concurrent request processing. I'm currently doing research and figuring out how to do it, I've identified these pin points:Describe alternatives you've considered I don't see any alternatives here, except the current implementation, feel free to discuss
Additional context Nope