Skip to content

Comment on Globally Distributed Postgresparent

Comments

I think it could be done better by marking requests as either queries or mutations like GraphQL does, then you can just check which it is and forward accordingly.

Although even with REST you should be able to do the same thing, assume GETS can go to the read replicas, should work if you aren’t doing anything weird.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.