Category Archives: Python

Docker Container Monitoring inetd-style with Chaperone

      Comments Off on Docker Container Monitoring inetd-style with Chaperone

Recently, Chaperone got an exciting new feature that makes it possible to dynamically launch scripts when a port connection occurs.  This is an old idea, and in fact was the purpose of the original inetd “super server” that was part of BSD 4.3 in 1986! It turns out that this feature is really ideal for lean Docker microservice containers because no… Read more »

Monkey-patching Python Core Functionality

      Comments Off on Monkey-patching Python Core Functionality

“Monkey patching” is an often dubious practice whereby you make changes to a running program, usually modifying the core capabilities to add some feature or fix some problem.  There are many pitfalls, especially with languages like Python and Ruby which it easy to do by nature of their flexible, accessible data models. In general, I would never recommend people do… Read more »