Open raziel057 opened 4 years ago
This issue can be closed. PR https://github.com/TechEmpower/FrameworkBenchmarks/pull/5237 have been merged
BTW, if you have any optimization suggestion, feel free to open a PR
@jderusse Thanks, I think we can improve it drastically. Setting running_mode: reactor
and using https://github.com/swoole/swoole-src#-amazing-runtime-hooks could potentially improve performance. I'll look into it.
Good catch, just switching to running_mode: reactor
boost performances by ~10%
Goroutine in /updates
and /queries
may be great too. Tell me if you don't have time to do it
Currently, I'm busy, so feel free to write code
PS. I'll try to look into it more over the weekend
I tried to use coroutine, but it don't fit well with doctrine (got "MySQL server has gone away"). Unless I missed a thing, the goal I don't see how to parallelise queries with coroutine.
It would be great to check the perf improvement by adding the symfony-swoole on https://www.techempower.com/benchmarks/ like already done or laravel.