A simple publish-subscribe pattern for PHP, Python, Node/JS