Habt ihr euch mal gefragt, wie man eine Webseite baut, die über 1 Million Aufrufe pro Tag standhalten muss? Geht das überhaupt mit WordPress? Amazon sagt, dass 100 ms längere Seitenladezeit zu 1% Umsatzeinbußen führt. Ein Online Shop, der 100.000 € am Tag macht kann somit leicht über 2.5 Millionen € im Jahr verlieren.
Ich würde euch gerne die Formel 1 des WordPress Hosting zeigen und was ihr ganz einfach daraus selbst umsetzen könnt.
50. docker run -d
--link web-app:backend-host
--volumes-from web-app
--env 'VCL_CONFIG=/data/path/to/varnish.vcl'
million12/varnish
Create new Varnish Cache Server as Docker Container
52. 250 users
→ 3 sec
420 users
→ crash!!!
Overheating a Fiat Uno without Turbo (Varnish)
53. 500 users
→ <2,5 sec
Overheating a Fiat Uno with Turbo (Varnish)
54. “There are only two hard
things in Computer Science:
cache invalidation and
naming things.”
https://martinfowler.com/bliki/TwoHardThings.html
Martin Fowler
64. “When you walk through your website architecture and you wonder
who could be so stupid to test it with 20.000 parallel requests per
second. But if you want to be successful and play in the first league, it
is important to think about it before your traffic increases”
Jan Löffler @jlsoft2