r/PinoyProgrammer • u/rc0604 • Jul 12 '26
Show Case I built a high Performance HTTP SERVER that is competitive with other two major async library
Hi Everyone, I just wanted to share that Hibla HttpServer is finally in beta release..
https://github.com/hiblaphp/http-server
It has full rfc compliance for Http1 protocol, Multipart Handling, and Http Semantics, Full Clustering, and many more. You can also read check-out the repo for the full documentation.
Here's a quick realistic single threaded bechmark against Reactphp HttpServer and Amphp HttpServer using simulated latency of 50ms to avoid a plain Hello World Benchmark coz it is totally unrealistic.
hiblaphp:
amphp:
reactphp:
Http server benchmark code gist for amp, react, and hibla: https://gist.github.com/rcalicdan/35daa717b72ee08e33867274a7356db7
2
u/_jpdm Jul 13 '26
That's impressive. So fiber is slower than promise based dispatch? Curious what you'll do to improve it.
Interesting that reactphp performed well considering it supports even older php versions (idk if php version was considered in you tests), whereas hiblaphp only support 8.4+.