Hacker News new | past | comments | ask | show | jobs | submit login

1. Redis is atomic, so we use the SETNX operation to ensure that only one write succeeds.

2. We have HLLs in Redis, so we just issue a PFCOUNT and store the result of that in Cassandra as an integer value. We don't use counters in Cassandra.




Join us for AI Startup School this June 16-17 in San Francisco!

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

Search: