Archive | Linux RSS feed for this section

Scaling Python Servers with Worker Processes and Socket Duplication

29. January 2011

13 Comments

Developing servers that scale is usually quite tricky, even more so with Python and the absence of worker threads which can run on multiple cpu cores [1]. A possible solution are worker processes that duplicate the client’s socket, a technique that allows the workers to processes requests and send responses directly to the client socket. [...]

Continue reading...

Useful Linux Command of the Day: compgen

11. December 2010

0 Comments

I’ve just learned about a particularly nice Linux shell command: compgen $ compgen -c … list all the commands you could run. $ compgen -a … list all the aliases you could run. $ compgen -b … list all the built-ins you could run. $ compgen -k … list all the keywords you could run. [...]

Continue reading...