Skip to content

Instantly share code, notes, and snippets.

@Leakless
Leakless / Hosts
Last active March 10, 2018 16:47
210.140.92.140 img-novel.pximg.net
210.140.92.140 public-img-comic.pximg.net
210.140.92.140 pixiv.pximg.net
210.140.92.140 i.pximg.net
#6个IP做dns负载均衡,210.140.92.134-210.140.92.141
210.140.131.157 d.pixiv.org
#4个IP做dns负载均衡,210.140.131.157-210.140.131.160
210.140.170.179 sketch.pixiv.net
@Leakless
Leakless / nginx-tuning.md
Created December 2, 2017 14:56 — forked from denji/nginx-tuning.md
NGINX tuning for best performance

Moved to git repository: https://github.com/denji/nginx-tuning

NGINX Tuning For Best Performance

For this configuration you can use web server you like, i decided, because i work mostly with it to use nginx.

Generally, properly configured nginx can handle up to 400K to 500K requests per second (clustered), most what i saw is 50K to 80K (non-clustered) requests per second and 30% CPU load, course, this was 2 x Intel Xeon with HyperThreading enabled, but it can work without problem on slower machines.

You must understand that this config is used in testing environment and not in production so you will need to find a way to implement most of those features best possible for your servers.