Skip navigation
Postgres: process-per-connection
0:00 / 0:34

Postgres: process-per-connection

2,238 likesDownloadOriginal post

349,929 views

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.

20 Comments

Comments from the original post on X (Twitter)

  • PlanetScale's profile picture

    @PlanetScale

    Give it a read:

    223 likes

  • Spooky Ghost's profile picture

    @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

  • Chinmay's profile picture

    @chinmaykhamkar9

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

    5 likes

  • Jigs's profile picture

    @debugsenpai

    Amazing visualization 😮

    3 likes

  • Andrey's profile picture

    @drakonhg

    wow will check it out now thanks

    2 likes

  • Sandy Prompt 📋's profile picture

    @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

  • 🇲🇦 حاتم's profile picture

    @7atimmoxs

    I love these subjects. Keep them up.

    2 likes

  • Pochi's profile picture

    @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

  • Min Chon Chi's profile picture

    @MinChonChiSF

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

    2 likes

  • Greg Werner's profile picture

    @gwerner

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

    1 like

  • Maxime's profile picture

    @MaximeServais77

    Excellent read thank you!

    1 like

  • Thomas's profile picture

    @ThomasLawDeep

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

    1 like

  • Tablo | AI Meeting Notes's profile picture

    @transcriblo

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

    1 like

  • Chitresh Deshpande's profile picture

    @chitreshd

    @grok is this true?

    1 like

  • Naufal's profile picture

    @ChiliGarlicHSP

    Cool viz

    1 like

  • Hrad Huskock's profile picture

    @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

  • Micky's profile picture

    @Rasmic

    @BenjDicken ur a g bro

    1 like

  • Bojan Wilytsch 🇺🇦's profile picture

    @bwilytsch

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

    1 like

  • Mengxin's profile picture

    @Mengxin546659

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

  • Minh Luan's profile picture

    @minhluanor

    Next-level visualization, seriously🙂🙂