have a table of used IDs lock the table, read the last item, incr by one, save to table, perform your other action, save that to DB, then close the transaction on the table of IDs?
...and then write a language construct like (in ruby I'd write): with_number_do : { ... their code here... }
-
-
...LOL, which is EXACTLY your lambda idea!
-
anyway, I've only given this 3-4 seconds of thought, but that's what I'd do
- Show replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.