3 ms·
Why is it so? I've got 100K requests per sec with PHP easily [1] [1] https://github.com/gotzmann/comet https://github.com/gotzmann/comet
by Ambix 6y ago
Why is it so? I've got 100K requests per sec with PHP easily [1]
[1] https://github.com/gotzmann/comet https://github.com/gotzmann/comet
- hu3 6y ago"Blazing fast with 100K HTTP requests per second and ~0.1 ms latency on commodity cloud hardware" Ok what's the secret sauce and downsides? Because as far as I know there's no way to cheat with PHP like C# did here: https://github.com/TechEmpower/FrameworkBenchmarks/blob/master/frameworks/CSharp/aspnetcore/PlatformBenchmarks/BenchmarkApplication.Fortunes.cs https://github.com/TechEmpower/FrameworkBenchmarks/blob/mast...
- Ambix 6y agoThe most important part is Workerman and its efficient network arhitecture based on libevent. The other part is efficient DB drivers. Thats why Comet ranks much higher than Go / NodeJS / Python frameworks in DB higloaded test: https://www.techempower.com/benchmarks/#section=data-r20&hw=ph&test=query https://www.techempower.com/benchmarks/#section=data-r20&hw=...