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?
-
This Tweet is unavailable.
-
-
Replying to @MorlockP @BrowningMachine
...and then write a language construct like (in ruby I'd write): with_number_do : { ... their code here... }
1 reply 0 retweets 0 likes -
Replying to @MorlockP @BrowningMachine
...LOL, which is EXACTLY your lambda idea!
1 reply 0 retweets 0 likes
Replying to @MorlockP @BrowningMachine
anyway, I've only given this 3-4 seconds of thought, but that's what I'd do
8:41 AM - 26 Jan 2018
1 reply
0 retweets
0 likes
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.