This is my spare time "how-to-use xx?" project. To get used to tornado5 with async background job.
- pip install tornado > 5.0
- pip install pyzmq
- wsserver.py -- Web Application. Simple websocket (tornado ioloop)
- rate.py -- Background Application. generate dummy FX rate per second. Using pyzmq pub/sub.
- getrate.py -- ZMQ subscriber sample (pure asyncio)
- run wsserver.py
- run rate.py
- open browser http://localhost:8080