DiceDB / dice

A drop-in replacement of Redis with SQL-based realtime reactivity.
https://dicedb-docs.netlify.app/
Other
3.16k stars 400 forks source link

Add support for `COMMAND COUNT` command #145

Closed arpitbbhayani closed 1 week ago

arpitbbhayani commented 1 month ago

Add support for the COMMAND COUNT command in DiceDB similar to the COMMAND COUNT 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.

dhruvdabhi101 commented 1 month ago

I would like to work on it. Can you please assign this issue to me ?

JyotinderSingh commented 1 month ago

I would like to work on it. Can you please assign this issue to me ?

Looks like #153 is already under review for this. Please take a look at other open issues that are not yet being worked on.

AshwinKul28 commented 1 week ago

@JyotinderSingh If already merged, good to close this issue?