正在加载视频...

视频加载失败

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 次观看 • 1 年前 •via X (Twitter)

20 条评论

PlanetScale 的头像
PlanetScale1 年前

Give it a read:

Spooky Ghost 的头像
Spooky Ghost1 年前

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 的头像
Chinmay1 年前

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

Jigs 的头像
Jigs1 年前

Amazing visualization 😮

Andrey 的头像
Andrey1 年前

wow will check it out now thanks

Sandy Prompt 📋 的头像
Sandy Prompt 📋1 年前

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.

🇲🇦 حاتم 的头像
🇲🇦 حاتم1 年前

I love these subjects. Keep them up.

Pochi 的头像
Pochi1 年前

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 的头像
Min Chon Chi1 年前

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

Greg Werner 的头像
Greg Werner1 年前

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

Maxime 的头像
Maxime1 年前

Excellent read thank you!

Thomas 的头像
Thomas1 年前

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

Tablo | AI Meeting Notes 的头像
Tablo | AI Meeting Notes1 年前

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

Chitresh Deshpande 的头像
Chitresh Deshpande1 年前

@grok is this true?

Naufal 的头像
Naufal1 年前

Cool viz

Hrad Huskock 的头像
Hrad Huskock1 年前

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 的头像
Micky1 年前

@BenjDicken ur a g bro

Bojan Wilytsch 🇺🇦 的头像
Bojan Wilytsch 🇺🇦1 年前

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

Mengxin 的头像
Mengxin1 年前

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

Minh Luan 的头像
Minh Luan1 年前

Next-level visualization, seriously🙂🙂

相关视频