~/talk

Building a hosting platform with Python

Talkat EuroPython 2011 · 2011-06-20..06-26· [cloud-infrastructure, python]
slides:none on file

A hosted Python platform is built using eventlet for millions of lightweight green threads (tested to 10 million, 10k active in production), ZeroMQ for request/response messaging and automatic load balancing, and Postgres for durable app metadata after a migration when Redis proved unsuited and moved Redis data to PostgreSQL. Seventeen cooperating daemons run across heterogeneous hardware and multiple datacenters with 90–200ms inter-site latency; large app images live on disk, a custom load‑balancer replaces HAProxy, and PTY wrappers handle interactive subprocesses reliably.

AI-written summary · about

  1. 0:00Start
  2. 1:54Hardware
  3. 2:20Network
  4. 2:57Daemons by the Dozen
  5. 3:20Redundancy, Redundancy...
  6. 4:27Security
  7. 6:19Basic Technologies
  8. 6:41Moving Data
  9. 7:13Storage
  10. 8:05What is eventlet?
  11. 9:00Brief Example
  12. 10:13Standard Classes
  13. 10:51Daemon Example
  14. 11:28Greening The World
  15. 13:20Still, it's really useful
  16. 14:19The Beginning
  17. 14:56February - March
  18. 16:23What is Zero MQ?
  19. 17:14ZeroMQ Example
  20. 18:20zmq_loop example
  21. 18:52Other Nice ZeroMQ things
  22. 20:15What is a PTY?
  23. 20:47Attempt One
  24. 21:48Greened pty example
  25. 23:13The resource module
  26. 23:58The signal module
  27. 24:42The atexit module
  28. 25:04The shlex module
  29. 29:23Python is really very capable
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.