dice icon indicating copy to clipboard operation
dice copied to clipboard

Add support for Redis `SETEX` command

Open JyotinderSingh opened this issue 1 year ago • 6 comments

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

JyotinderSingh avatar Sep 13 '24 17:09 JyotinderSingh

@JyotinderSingh would like to work on this..

AshikBN avatar Sep 13 '24 17:09 AshikBN

Go for it @AshikBN. 🚀 Thanks for picking this up.

AshwinKul28 avatar Sep 13 '24 17:09 AshwinKul28

Hello @AshikBN,

There has been no activity on this issue for the past 5 days. It would be awesome if you keep posting updates to this issue so that we know you are actively working on it.

We are really eager to close this issue at the earliest, hence if we continue to see the inactivity, we will have to reassign the issue to someone else. We are doing this to ensure that the project maintains its momentum and others are not blocked on this work.

Just drop a comment with the current status of the work or share any issues you are facing. We can always chip in to help you out.

Thanks again.

arpitbbhayani avatar Sep 20 '24 18:09 arpitbbhayani

@arpitbbhayani a small change is pending, I will close this tomorrow.

AshikBN avatar Sep 20 '24 18:09 AshikBN

Hello @AshikBN,

There has been no activity on this issue for the past 5 days. It would be awesome if you keep posting updates to this issue so that we know you are actively working on it.

We are really eager to close this issue at the earliest, hence if we continue to see the inactivity, we will have to reassign the issue to someone else. We are doing this to ensure that the project maintains its momentum and others are not blocked on this work.

Just drop a comment with the current status of the work or share any issues you are facing. We can always chip in to help you out.

Thanks again.

arpitbbhayani avatar Oct 03 '24 14:10 arpitbbhayani

Hello @AshikBN,

There has been no activity on this issue for the past 5 days. It would be awesome if you keep posting updates to this issue so that we know you are actively working on it.

We are really eager to close this issue at the earliest, hence if we continue to see the inactivity, we will have to reassign the issue to someone else. We are doing this to ensure that the project maintains its momentum and others are not blocked on this work.

Just drop a comment with the current status of the work or share any issues you are facing. We can always chip in to help you out.

Thanks again.

arpitbbhayani avatar Oct 09 '24 02:10 arpitbbhayani

@JyotinderSingh - SETEX command exists in store_eval.go file. I think we can close this issue.

psrvere avatar Oct 16 '24 11:10 psrvere