Sixteen Locks Ought to Be Enough for Anybody

(thebuild.com)

13 points | by speckx 2 days ago

3 comments

  • bunderbunder 37 minutes ago
    I have a hard time believing acquiring so many locks you don't need is particularly harmless. Won't every single one of those introduce a memory fence? Which will then stall out every CPU core on the server.
  • smallmancontrov 56 minutes ago
    > Build a users table with a primary key and twenty single-column indexes

    That's pretty bad

    > (I have seen worse in production, and so have you)

    but yes, yes I have.

  • dherls 1 hour ago
    This whole website appears to be Claude slop articles about Postgres.
    • seki285 57 minutes ago
      The "art" is repulsive as well.