by prostoalex · 7y ago · 0 comments
Insert a fresh record immediately, since you know it’s recent. Upon successful insert, fire off a queue request to go check on that ID.
If it doesn’t, then set up a DB replica (good idea in any case), do SELECTs on slave, DELETEs on master.