pyzzazz-www is a webserver designed to allow communication with and control of the pyzzazz lighting server via http.
the initial plan was to accomplish state sharing with pyzzazz via python multiprocessing, but after several false starts I decided that Redis was a better option.
There were several reasons for this:
- Python multiprocessing plays badly with almost all the methods of getting flask to handle websockets
- Flask isn't great for realtime applications
- Running two different python servers concurrently worked out badly, due to GIL etc, and I want them to be able to run happily on the same machine
- I'm learning node at the moment and learning about flask at the same time was doing me head in