Loading video...

Video Failed to Load

Go Home

Postgres: process-per-connection MySQL: thread-per-connection Learn more about processes, threads, connection pooling, and how they impact database performance in our latest interactive article.

349,838 views • 1 year ago •via X (Twitter)

20 Comments

PlanetScale's profile picture
PlanetScale1 year ago

Give it a read:

Spooky Ghost's profile picture
Spooky Ghost1 year ago

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

Chinmay's profile picture
Chinmay1 year ago

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

Jigs's profile picture
Jigs1 year ago

Amazing visualization 😮

Andrey's profile picture
Andrey1 year ago

wow will check it out now thanks

Sandy Prompt 📋's profile picture
Sandy Prompt 📋1 year ago

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.

🇲🇦 حاتم's profile picture
🇲🇦 حاتم1 year ago

I love these subjects. Keep them up.

Pochi's profile picture
Pochi1 year ago

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!

Min Chon Chi's profile picture
Min Chon Chi1 year ago

Great thread on database performance! The process vs. thread distinction is key for scalability.

Greg Werner's profile picture
Greg Werner1 year ago

Love this kind of content!! Thanks for sharing ❤️

Maxime's profile picture
Maxime1 year ago

Excellent read thank you!

Thomas's profile picture
Thomas1 year ago

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

Tablo | AI Meeting Notes's profile picture
Tablo | AI Meeting Notes1 year ago

Interesting difference, didn't know that about Postgres vs MySQL.

Chitresh Deshpande's profile picture
Chitresh Deshpande1 year ago

@grok is this true?

Naufal's profile picture
Naufal1 year ago

Cool viz

Hrad Huskock's profile picture
Hrad Huskock1 year ago

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?

Micky's profile picture
Micky1 year ago

@BenjDicken ur a g bro

Bojan Wilytsch 🇺🇦's profile picture
Bojan Wilytsch 🇺🇦1 year ago

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

Mengxin's profile picture
Mengxin1 year ago

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

Minh Luan's profile picture
Minh Luan1 year ago

Next-level visualization, seriously🙂🙂

Related Videos