Zum Nachtrag: Das behauptet hier niemand. Du verdrehst hier mit voller Absicht die Fakten. Hast du dir überhaupt einen der Links in diesem Thread angeschaut?
Here we go again ![]()
Ich zitiere mal noch aus dem verlinkten Artikel von mir:
"The CPU usage probably also benefits from HTTP/2 being binary protocols which explains why HTTP/2’s (with encryption) CPU usage is slightly lower than HTTP/1.1 without encryption."
Also laut dem Benchmark (Details im Link oben) ist HTTP2 selbst mit Verschlüsselung sparsamer was "CPU" angeht auf Seite des Servers. Klar Verschlüsselung braucht CPU-Leistung, aber der Vorteil in der Effizienz des Protokolls ist größer wie der zusätzliche Verschlüsselungsaufwand laut diesem Test, was unterm Strich die CPU entlastet.
Davon ab verursacht TLS keinen all zu großen Overhead, dank CPU-Features etc. Ich gebe zu, der Test oben ist nur von einer "unbedeutenden Person", daher hier noch ein paar Links von größeren Organisationen die massenhaft Traffic bewältigen müssen ![]()
https://www.keycdn.com/blog/https-performance-overhead/
Zitat"If you are running on HTTP/2 (HTTPS) this only requires a single connection per origin which means few sockets, memory buffers as well as TLS handshakes. Because of this it you might be able to handle more users with fewer resources as opposed to HTTP"
"In January 2010, Gmail switched to using HTTPS for everything by default. They didn’t deploy any additional machines or special hardware and on their frontend machines, SSL/TLS accounted for less than 1% of the CPU load."
"Many people believe that SSL/TLS takes a lot of CPU time and we hope the preceding numbers will help to dispel that." – Adam Langley, Google
Hier noch ein älterer Test von 2013 (!) mit SPDY im Vergleich zu HTTP und HTTPS, auch hier ist bis auf einen minimal größeren CPU overhead SPDY mit TLS effizenter wie HTTP:
https://www.neotys.com/blog/performan…ed-web-servers/
ZitatIt turns out that SPDY also has advantages on the server side:
- Compared to HTTPS, SPDY requests consume less resources (CPU and memory) on the server.
- Compared to HTTP, SPDY requests consume less memory but a bit more CPU. This may be good, bad, or irrelevant depending on which resource (if either) is currently limiting your server.
- Compared to HTTP/S, SPDY requires fewer Apache worker threads, which increases server capacity. As a result, the server may attract more SPDY traffic
From these results, it is clear that Apache tuning performed for HTTP/S may not be appropriate after SPDY is enabled on the server.