It's a single-core 128 MB VPS, which seemed fine for my boring static html articles. I guess I underestimated the interest.
It's a single-core 128 MB VPS, which seemed fine for my boring static html articles. I guess I underestimated the interest.
I'll have to debug when things cool down.
I'm aware 128M is ludicrous in 2023... "a fun challenge", I thought to myself. I can be a dummy.
Cache control headers will help with return traffic
More cpu cores
If using nginx ensure sendfile is enabled and workers are set to auto or tuned for your setup
Check ulimit file handle limits
Offload static assets to cdn
Since it’s a static html site, you could even host on s3, netlify, etc
Unless your CPU is burning due to additional system calls being made.
I wouldn't be so sure, given that without zlib HTTP connections take longer, thereby increasing the size of the wait queue and the number of parallel connections.
HTTP/1.1 200 OK
Date: Mon, 24 Jul 2023 17:05:06 GMT
Server: Apache