High Performance Django: From runserver to Reddit hugs

High Performance Django: From runserver to Reddit hugs

A464f1f39d9d840f9ca156e9abcfd4a9?s=128

Peter Baumgartner

September 05, 2014
Tweet

Transcript

  1. HIGH PERFORMANCE DJANGO From Runserver to Reddit Hugs

  2. PETER BAUMGARTNER Founder at Lincoln Loop ! @ipmb pete@lincolnloop.com !

  3. HIGH PERFORMANCE DJANGO

  4. DJANGO DOESN’T SCALE?

  5. TRUE

  6. None
  7. YES, DJANGO DOES NOT SCALE

  8. ! BUT WHAT ABOUT…

  9. HOW DO THEY DO IT?

  10. None
  11. NOT DJANGO

  12. None
  13. LET’S FIND OUT

  14. LIVE DEMO! but first a word of caution…

  15. LIES, DAMNED LIES, AND BENCHMARKS

  16. THIS IS A TERRIBLE BENCHMARK BECAUSE… Fake application Fake data

    Network effects Containers in virtual machines on shared infrastructure
  17. FIRST UP…

  18. NEXT CONTENDER

  19. NEXT CONTENDER

  20. FINALLY

  21. 450 REQUEST PER SECOND 1400 X 86400 ~ 40 MILLION

    REQUESTS PER DAY
  22. highperformancedjango.com WANT TO LEARN MORE? @ipmb pete@lincolnloop.com !