Skip to content

Tag: PG Kernel

  • Frontend-Backend Communication Wire Protocol

    By Ruohang Feng In PGSQL 870 words 5 min

    Ruohang FengPostgreSQLPG DevelopmentPG Kernel

    Frontend-Backend Communication Wire Protocol

    Understanding the TCP protocol used for communication between PostgreSQL server and client Startup Phase The basic flow of the startup phase is as follows: Client sends a StartupMessage (F) to initiate connection request to server Payload includes …

    Understanding the TCP protocol used for communication between PostgreSQL server and client Startup Phase The basic flow of the startup phase is as follows: Client sends a StartupMessage (F) to initiate connection request to server Payload includes …

  • Concurrency Anomalies Explained

    By Ruohang Feng In Database 6088 words 29 min

    Ruohang FengDatabaseTransactionsPG Kernel

    Concurrency Anomalies Explained

    Concurrent programs are hard to write correctly and even harder to write well. Many programmers haven’t truly figured out these problems - they just dump them all on the database. Concurrency anomalies aren’t just theoretical problems: these …

    Concurrent programs are hard to write correctly and even harder to write well. Many programmers haven’t truly figured out these problems - they just dump them all on the database. Concurrency anomalies aren’t just theoretical problems: these …