News for hackers. Stuff that matters.
Re:Redis on Acid: 0.5M ops/sec, 1ms latency and ACID compliance by le-mark on Sunday July 23, 2017 @09:45PM (#14835376)
I used redis' lua scripting to implement a per user/account cache; I wanted to provide a memcached instance per account, but also enforce a limit on cache size so a single account couldn't cache GBs of data and detoriate the service for everyone. I used hashes to track items and their sizes per account, and simply calculated the available size of all live objects on insert.

There are no comments on this comment yet.