~/talk

Does Python have the secret sauce to be web scale?

Talkat PyOhio 2012 · 2012-07-28..07-29· [nodejs, web-platform]
links:none on file
slides:none on file

Survey of practical Python options for web scale that hits specifics not slogans it cites the C10K target of 10k concurrent connections and explains the kernel mechanisms epoll and kqueue used via libevent/libev it contrasts callback Twisted, generator/coroutine Tornado and gevent and Stackless/greenlet tasklets it shows a working pattern converting psycopg to nonblocking with a decorator in ~160 lines so synchronous DB calls become async while keeping the same call style and running on a single IO loop despite the GIL

AI-written summary · about

  1. 0:00Start
  2. 9:39What Is a Thread
  3. 20:58Twisted Code
  4. 24:40I / O Loop
  5. 29:41Stack Lists
  6. 39:47How Do You Handle Errors
~/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.