I'm testing HttpHelloWorldServer
from netty example, I do a little change is making CONTENT
larger (25KB - match my reponse size in reality). And I see a huge different performent between HTTP and HTTPS version, HTTP give me about 110k req/s, HTTPS give me ~400 req/s. So what can make HTTPS such that slower?
Test condition:
Netty 5 ALPHA2
JDK8-64 bit ubuntu 14.04
CPU Core i7 8 thread 2.2 GHz
RAM 8GB
Launch example without any special JVM parameter.
My benchmark use wrk
with Keep-Alive enable.