Talk for Open Source Bridge on monitoring asynchronous applications
Python CSS
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
img
README.md
app.py
async.css
async.rst
monitor.py
puppy_service.py

README.md

Monitoring Asynchronous Applications

Demo application is in puppy_service.py

Charting app in monitor.py

presentation slides are async.rst

To run the demo:

Install Bokeh (which also installs Tornado):

$ pip install bokeh

Start the charting server:

$ bokeh serve --show montior.py

Start the app:

$ python puppy_service.py

Now send the app some traffic. e.g. via curl:

$ curl localhost:8888

or via apache bench:

$ ab -c 10 -n 800 "http://localhost:8888/"

To run the presentation:

Note that I have the presentation up on my blog

Install hovercraft:

$ pip install hovercraft

Run the presentation:

$ hovercraft async.rst