com
Generate ascending sequence for a key
If you need a guaranteed distributed sequence generator this is your API. The ids generated are never greater than the current time. Also as an example, when two calls that are 5 seconds apart, the second call will have an id+1 of the first call. Also the sequences are scoped to the key.
Replace key with a string that you want to scope the sequence to, e.g, /lgc/service/genid/genAsc/listings.

RESPONSE ↴