~/talk

Going serverless with Django on AWS Lambda

Talkat PyCon India 2020 · 2020-10-02..10-05· [serverless, django]
links:none on file
slides:none on file

A Django site runs on AWS Lambda + API Gateway by converting the API Gateway event into a WSGI environ and returning a WSGI response; deployment uses Python 3.6 runtime, a self-contained ZIP of requirements, and GitHub Actions to upload the Lambda. Static assets use django-storages to push to S3 with content-hashed filenames, and latency drops by embedding the manifest.json baked into package instead of fetching it at cold start. The demo serves NASA APOD and a Mars plot, uses no database, and is deployed and working.

AI-written summary · about

  1. 0:00Introduction
  2. 0:48What is serverless computing
  3. 3:58Differences in deployments
  4. 8:10Demo setup overview
  5. 11:11Creating a Lambda function
  6. 12:56Connecting to API Gateway
  7. 15:43Converting events to WSGI
  8. 19:42Deploying to Lambda
  9. 22:31Reducing latency in Django
  10. 26:05Role of API Gateways
  11. 27:30Q&A session
~/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.