Monthly Archives: April 2019

Linux – Network settings for high traffic generating application

/etc/sysctl.conf CENT OS example # default socket memory buffer per a socker net.core.wmem_default=131072(128KB) net.core.rmem_default=131072(128KB) # max socker memory buffer per a socker net.core.wmem_max=2097152(2MB) net.core.rmem_max=2097152(2MB) # tcp buffer size (min, default, max) 4KB, 64KB, 2MB net.ipv4.tcp_wmem=4096 65536 2048000 # enable TCP … Continue reading

Posted in Linux, Programming | Leave a comment

Websocket protocol details

Websocket protocol details. http://lucumr.pocoo.org/2012/9/24/websockets-101/

Posted in Programming, Web | Leave a comment

Java – JVM monitoring tool

It is an amazing tool to monitor Java application such as thread cpu usage etc. https://github.com/aragozin/jvm-tools

Posted in Java, Programming | Leave a comment

Python – Spelling correction (Python examples on list comprehension)

It’s worth to read Python code as examples of using list comprehension semantics. http://norvig.com/spell-correct.html

Posted in Programming, python | Leave a comment