Repository navigation
Compare and delete locking watch - #16821
Conversation
|
Keys are also cleant up properly. I'll measure the time t1.pl takes and compare between the "watch" approach and "lua" approach. |
|
Here are the running times of t1.pl for the LUA approach: So about 61,038 seconds in average. and the ones for the WATCH approach: About 61,06 seconds in average. So it looks like the WATCH approach was slightly slower. I'll try running all the t*.pl suites at once to get more precise numbers. |
|
Here is when running all the tests: Average: 325,366 seconds Watch: Average: 322,916 seconds These might not be super accurate as I had other processes running on my laptop... I do have the feeling that there is no significant difference between Lua and Watch approaches, and the Watch approach seems to do fine for now. |
|
I say 👍 for the WATCH approach |
|
Please rebase. It's probably the recent NullCache change. @DeepDiver1975 can you review this afterwards ? This is the WATCH approach for clearing lock keys from redis. |
076810c to
a9ff242
Compare
|
A new inspection was created. |
|
Rebased |
|
Needs a second reviewer @nickvergessen @DeepDiver1975 |
|
👍 |
Compare and delete locking watch

Alternative to #16800 using WATCH command
CC @DeepDiver1975