Wednesday, 13 November 2019

Performance tuning - which tweaks do you make?

Do you set a http or socket keep alive?How about ulimits? Do you increase those?What UV_THREADPOOL_SIZE do you use?Do you disable the idle scavenging part of the GC and trigger it manually (through --expose_gc)?Do you tweak GC in other ways (e.g. by tuning –max-new-space-size)?Do you tweak amount of conns NAT can keep track of (net.ipv4.netfilter.ip_conntrack_max)?Do you tweak memory limits (--max_old_space_size)?Do you rewrite the object keys of JSON to be shorter, to save bandwidth and serialization CPU time?Curious what you experienced Node.js developers have to say about this.

Submitted November 13, 2019 at 10:30AM by Environmental_Paint

No comments:

Post a Comment