~/talk

Serverless Python in the real world: common patterns & challenges

Talkat PiterPy 2019 · 2019-11-01..11-02· [serverless, python]
slides:none on file

Built a serverless URL shortener that records clicks and redirects, deployed on AWS Lambda + API Gateway using frameworks like Serverless and Zappa (Flask adaptor). Load tests up to ~1,000 concurrent invocations show latency spikes after ~250 concurrent cold starts; packaging native binaries required Docker builds to avoid runtime failures. Hitting Postgres connection limits forces either a proxy like pgbouncer or a switch to Aurora Serverless / queueing (SQS). Pricing note: first million Lambda invocations free, then roughly $0.20 per million — works for bursty loads, not sustained high throughput.

AI-written summary · about

  1. 0:00Introduction
  2. 7:04Product overview
  3. 10:18AWS Lambda basics
  4. 13:33Scalability and dependencies
  5. 17:09Zappa framework solution
  6. 21:37Binary system challenges
  7. 24:36Testing and error handling
  8. 28:52Monitoring and logging
  9. 31:50Local testing and mocking
  10. 34:24When to use serverless
  11. 36:12Serverless ideology
  12. 38:30Q&A
~/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.