Hacker News new | ask | show | jobs
by vikiomega9 3179 days ago
Why not just use sequence ID? I'm confused about why a timestamp is important. The sequence ID gives us ordering, is always guaranteed to be increasing.
1 comments

Because with the way stream IDs are conceived you also get time-based range queries for free. With time series this is very important in many use cases.
I see, so this composite structure is in lieu of having two distinct fields exposed in the API?