The HTTP protocol and, more generally, the web set of technologies, are being recognized as an effective and robust way to create distributed systems that can leverage a widespread and reliable way to implement inter-process communication with ready available technologies and paradigms for caching, error propagation, reiterable requests, and best practices for contexts where services might fail without impacting the overall system status.
Python has many very good and reliable web frameworks, from full stack solutions, such as Django and TurboGears, to more finely tweakable frameworks, such as Pyramid and Flask. However, for many cases, the standard library might already provide the tools you need to implement an HTTP-based software without the need to rely on external libraries and frameworks.
In this chapter, we will look at some some common recipes and tools provided...