Hi!

While using Pg and SQLite backends, job ids are generated as incremental 
integers.

This ordering characteristic would come very handy in one application I'm 
writing. Is it something dependable, or should I consider ids as opaque for 
future-proofness?

To avoid the XY problem, some background: I'm scheduling jobs for deferred 
execution, but some of them might be superseded by new ones. I need a 
robust way to cope with races - "the last wins" being a perfect tactic.

Thanks, Flavio.

-- 
You received this message because you are subscribed to the Google Groups 
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.

Reply via email to