Hacker News new | ask | show | jobs
by hdeshev 5189 days ago
ZSET's indexed by time_ts sound cool until you need to increment a value for a time since you'd have to change a key of the item in a set. I have no idea how that might work.

Thinking of it, you could probably remove the old value and insert the new (incremented) one, but that seems both slower and non-atomic.