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...11. December 2010
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...
29. January 2011
13 Comments