News for hackers. Stuff that matters.
Re:Do you really need Redis? How to get away with just Postg... by dillondoyle on Saturday June 12, 2021 @05:00PM (#27487406)
Thanks for posting this! It is relevant to me right now and great example. Especially since I'm using a new to me database, Spanner.

Specifically I similarly pull rows into a 'queue' like that linked sql by WHERE primary key, primary key, and queue_status ORDER BY timestamp, uuid LIMIT 10. I was worried what would happen with many requests around the same time if it would accidentally pull duplicates into 'queue.'

I think hopefully I've implemented Spanner locking read write transaction correctly and that this won't cause problems at scale (we're not even close to google scale lol).

There are no comments on this comment yet.