Some networking stack settings to consider tuning for your deployments:
Turning on tcp_no_delay in your application code
tcp_no_delay
Setting the MTU on the localhost to 1500 (linux defaults can be much higher)