DEV Community

Cover image for Building scalable apps with serverless PostgreSQL & Django

Building scalable apps with serverless PostgreSQL & Django

Shuaib Oseni on February 08, 2024

The developer ecosystem is seeing a surge in the use of serverless architectures for building modern applications. Particularly noteworthy is the ...
Collapse
 
kwnaidoo profile image
Kevin Naidoo

Thanks for this, very interesting. Django by very nature in terms of performance benefits from booting up an instance and caching the framework in memory.

If there are large time gaps between (possibly a few minutes) requests, I would imagine this service will destroy the instance and re-create it (cold start) which might be expensive for heavy traffic 🤔

A similar would apply to PostgreSQL - the index would need rebuilding.

I guess serverless could also mean, it's just run on minimum resources and then scaled when the demand grows, thus not a true cold start.

Very interesting, I will explore Neon in more detail when I have time.

Collapse
 
nellysunday profile image
Sunday

Welldone

Collapse
 
rumendimov profile image
Rumen Dimov

Very nice!

Collapse
 
jr01 profile image
Jr

Well done buddy nice

Collapse
 
orejet profile image
Jetawo Oreoluwa

Very enlightening
Thank you for this