Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> It’s possible for a record with a smaller id to be present after one with a higher id, but only in the case of a double-send.

Doesn't this constraint only hold true if the XADDs to redis are completed synchronously?



They are synchronous - "XADD returns the ID of the just inserted entry" so it won't return until the entry has been inserted.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: