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

It's a key value store, locks can be done with bucketing fairly trivially like any modern concurrent hashmap and locking would only slow you down if you were frequent writing to the same bucket.



Redis has MULTI transactions and many applications depend on that functionality. You can't add multiple reader threads without a hugely complex locking system to prevent things like uncommitted reads. This is the tradeoff Redis made when deciding to stay single threaded at its core.




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

Search: