~/talk

Weaponizing MCP Servers: Production-Ready AI Agent Infrastructure with Python

Talkat XtremePython 2025 · on Tuesday, 2025-11-18· [python, serverless]
slides:none on file

Shows a reproducible Python stack for production MCP servers: replace tutorial HTTPX patterns with aiohttp and a shared connection pooling client to stop TCP-socket leaks, cutting 20-request runs from >10s to ~2.2s and per-request latency to ~100ms. Adds semaphore rate limiting (example pool=5) to bound concurrency, a circuit breaker that opens after 3 failures to fail fast, and simple load‑balancing across replicas; code and demos are available on GitHub and the measures demonstrably prevent cascading failures.

AI-written summary · about

  1. 0:00Introduction to MCP servers
  2. 1:33Async patterns for scaling
  3. 8:26Traffic control with rate limiting
  4. 12:23Defensive patterns for failures
  5. 15:29When and how to scale
  6. 17:19Load balancing techniques
  7. 18:02Monitoring production issues
  8. 19:31Q&A and closing
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.