learnings

This is an excerpt from an article on how to improve the performance of HTTP requests handling on Linux. The original article says that these methods made it possible to increase the performance of a JSON processor based on the libreactor library in an Amazon EC2 environment (4 vCPU) from 224 thousand API requests per second with stock settings of Amazon Linux 2 with a 4.14 kernel to 1.2 million requests per second after optimization ( an increase of 436%), and also led to a reduction in delays in processing requests by 79%.

WARNING: these optimizations are not a panacea. Use them at your own risk

Main optimizations

Links

Original post