pmem / kvdk

Key Value Development Kit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[NEW] Implement a Read-Modify-Write API to help improve the performance of commands like incr.

chencheng1560 opened this issue · comments

The problem/use-case that the feature addresses

There are a series number of Redis commands such as INCR, DECR, etc, which increase/decrease the value atomically. To support such commands effectively, we need a Read-Modify-Write API.

Alternatives you've considered

We can implement such function outside, but it is not very efficient

Additional information

No

Implemented #212