Upgrade to Pro — share decks privately, control downloads, hide ads and more …

API-Hour: Performant AsyncIO daemons

API-Hour: Performant AsyncIO daemons

Presentation during Python-FOSDEM about API-Hour: Write efficient network daemons (HTTP, SSH...) with ease.
URL: http://www.api-hour.io/

Ludovic Gasc

January 31, 2015
Tweet

Other Decks in Programming

Transcript

  1. Concretely for my business ? • Handles a lot more

    HTTP requests with Python Serialization DB request 0 50000 100000 150000 200000 250000 300000 350000 400000 450000 AsyncIO (API-Hour) Sync (Flask)
  2. Who am I ? • A simple Telco Dev guy

    in a Farm: • Some of our clients:
  3. What is API-Hour ? • API-Hour enables easily multiprocessing for

    AsyncIO daemons • Based on Gunicorn with a custom worker • AsyncIO + API-Hour = Performant
  4. API-Hour philosophy • KISS philosophy: Easy to understand and deploy

    • Use AsyncIO libraries directly • (Optional) A Starter-Kit to create quickly your HTTP/REST daemon ready for production (with system config files + Ansible playbook)
  5. Future • API-Hour will participate to the biggest Web Framework

    Benchmark (90+ Web stacks compared): https://www.techempower.com/benchmarks/ • Integrate API-Hour worker in Gunicorn • UDP support • Implement new server protocols for AsyncIO URL: http://www.api-hour.io/