Postgres: process-per-connection
45K followers
349,929 views
20 Comments
Comments from the original post on X (Twitter)

@PlanetScale
Give it a read:
223 likes

@SpookyGhost81
a lot of useful information in the article if you don't know what threads and processes are but I found the animations to be pretty unhelpful and confusing
17 likes

@chinmaykhamkar9
PlanetScale engg blogs are like weekly HBO episodes of my favourite show. Eagerly wait for them to drop!!
5 likes

@debugsenpai
Amazing visualization 😮
3 likes

@drakonhg
wow will check it out now thanks
2 likes

@sandyonAI
This is a great breakdown of a key difference between Postgres and MySQL. The choice between a process-per-connection and a thread-per-connection model has significant implications for how each database handles resources and scales under load. It's a fundamental concept for anyone looking to optimize database performance.
2 likes

@7atimmoxs
I love these subjects. Keep them up.
2 likes

@getpochi
Fantastic article! This is a super clear explanation of a really complex topic. The trade-offs between process and thread-based models have such a huge impact on architecture choices. Great resource!
2 likes

@MinChonChiSF
Great thread on database performance! The process vs. thread distinction is key for scalability.
2 likes

@gwerner
Love this kind of content!! Thanks for sharing ❤️
1 like

@MaximeServais77
Excellent read thank you!
1 like

@ThomasLawDeep
This makes it look like connections are being used by different clients at the same time.🤔
1 like

@transcriblo
Interesting difference, didn't know that about Postgres vs MySQL.
1 like

@chitreshd
@grok is this true?
1 like

@ChiliGarlicHSP
Cool viz
1 like

@Huskock
what's the difference really? if process crashes it crashes only its own threads so if all threads are in one process and one thread hits off-page it takes the entire database down?
1 like

@Rasmic
@BenjDicken ur a g bro
1 like

@bwilytsch
Love your high quality blog posts about dbs! Really enjoyed the B+Tree one 💪
1 like

@Mengxin546659
I want to know how this video was made! It's really amazing!

@minhluanor
Next-level visualization, seriously🙂🙂