WebPagetest Forums
http/2 vs apache handler DSO - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: Web Performance (/forumdisplay.php?fid=3)
+--- Forum: Optimization Discussions (/forumdisplay.php?fid=5)
+--- Thread: http/2 vs apache handler DSO (/showthread.php?tid=15054)



http/2 vs apache handler DSO - hallayman - 09-20-2017 07:20 PM

We run our site on a VPS set with apache handler DSO and mod_ruid2,which is the fastest method to run Apache
However this configuration is incompatible with mod_http2 that will enable HTTP/2
when running tests https://www.webpagetest.org/result/170920_13_eabf10a343ec89e817ccfc97317b8b96/
I get better performances with DSO and mod_ruid2, so unfortunately we have to stick with HTTP/1.1


RE: http/2 vs apache handler DSO - dennis100 - 09-21-2017 02:25 AM

Why not just setup an nginx proxy in front of apache to enable HTTP/2? IMO it's the best of both worlds. You get the power of apache with the speed of nginx. That's always been my goto config.


RE: http/2 vs apache handler DSO - dfavor - 10-06-2017 06:58 AM

Both mod_ruid2 + mpm_itk are both very slow, compared to running mpm_event + FPM PHP + HTTP2.

I mean orders of magnitude slower.

You can test this yourself with h2load.

I prefer fixing the actual problem (your Apache setup), rather than placing a proxy in front of the problem... Like NGINX/Varnish/Squid/etc...

Also be sure you're running latest Apache-2.4.27 + latest PHP-7.1.10 along with latest MariaDB-10.2.9 (way faster + more stable then MySQL).

And tune PHP Opcache, which most people completely miss.

All this small items, together, make for very fast, low resource usage sites.

If you actually do testing of mpm_itk + mod_ruid2 you'll find the performance drop amazing.