Menu

#LifeSpan

10 posts

Feed·
9 of 10 posts
Django under uvicorn: an atexit flush that runs on Ctrl+C but not on SIGTERM
📰
0Read More

Django under uvicorn: an atexit flush that runs on Ctrl+C but not on SIGTERM

DEV Community: django·Jack Ma·about 18 hours ago
#deHNEnde
#devtodjango#devto#dev#uvicorn#lifespan

I kept per-customer request counts in memory in a Django app and wrote them out with an atexit hook....

15s
High-Concurrency PostgreSQL: Advanced asyncpg Connection Pooling & Pipeline Modes
📰
0Read More

High-Concurrency PostgreSQL: Advanced asyncpg Connection Pooling & Pipeline Modes

DEV Community: fastapi·Aman Kumar·10 days ago
#YlVwVZVE
#devtofastapi#devto#dev#pool#self

Eliminating I/O bottlenecks in Python asyncio microservices: asyncpg binary wire protocol, custom pool tuning, prepared statement caching, and pipelining.

15s
FastAPI Lifespan Events are now supported on Vercel - Vercel
📰
0Read More

FastAPI Lifespan Events are now supported on Vercel - Vercel

Vercel News·Ricardo Gonzalez·6 months ago
#DvQSjDUP
#vercel#fastapi#lifespan#logic#startup

Vercel now supports lifespan events on FastAPI apps, allowing you to define startup and shutdown logic such as setting up and shutting down database connections or flushing external logs.

15s
Scientists were wrong about lifespan. Your genes matter way more than we thought
📰
0Read More

Scientists were wrong about lifespan. Your genes matter way more than we thought

ScienceDaily·8 months ago
#6V0B0cSX

For years, scientists believed our lifespan was mostly shaped by environment and chance, with genetics playing only a minor role. But a new study from the Weizmann Institute flips that idea on its head, revealing that genes may actually account for about…

15s