Practice
Learn
← Quit
0 / 0 correct
System Design
Hard
1 of 600
How can a Postgres table be used as a reliable job queue for many workers?
A
SELECT ... FOR UPDATE SKIP LOCKED to claim rows without workers blocking on each other
B
Use a sequence and LIMIT 1 without a transaction
C
Each worker scans the whole table and picks randomly
D
SELECT the oldest row without locking