A software example

The weakref module of Python contains a proxy() method that accepts an input object and returns a smart proxy to it. Weak references are the recommended way to add a reference counting support to an object [j.mp/wrefproxy].

ZeroMQ [j.mp/zermq] is a set of FOSS projects that focus on decentralized computing. The Python implementation of ZeroMQ has a proxy module that implements a remote proxy. This module allows Tornado [j.mp/pytornado] handlers to be run in separate remote processes [j.mp/pyzmq].

Get Mastering Python Design Patterns now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.