DiceDB / dice

DiceDB is hyper-optimized for building and scaling truly real-time applications on modern hardware. It is a drop-in replacement for Redis with support for SQL-based reactivity.
https://dicedb.io/
Other
3.32k stars 420 forks source link

Add support for `COMMAND GETKEYS` command #147

Closed arpitbbhayani closed 1 month ago

arpitbbhayani commented 1 month ago

Add support for the COMMAND GETKEYS command in DiceDB similar to the COMMAND GETKEYS command in Redis. Please refer to the following commit in Redis to understand the implementation specifics - source.

Write unit and integration tests for the command referring to the tests written in the Redis codebase 7.2.5. For integration tests, you can refer to the tests folder. Note: they have used TCL for the test suite, and we need to port that to our way of writing integration tests using the relevant helper methods. Please refer to our tests directory.

For the command, benchmark the code and measure the time taken and memory allocs using benchmem and try to keep them to the bare minimum.

Yonggiee commented 1 month ago

Hey @kakdeykaushik, can I confirm if you are currently working on this issue? If not, I would like to work on this.

kakdeykaushik commented 1 month ago

I'm not working on this GETKEYS please go ahead to pick it up.

arpitbbhayani commented 1 month ago

@Yonggiee I have assigned the issue to you. Thanks.