Skip to content

Commit 3aa0eee

Browse files
committed
update readme
1 parent f5d66df commit 3aa0eee

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,22 @@ Then you can use "redis-trib.rb reshard --yes --from e1a4ba9922555bfc961f987213e
146146
yes
147147
delete keys job is running...
148148
delete keys job finished, deleted: 999999 keys, used: 4 s
149+
150+
You can also use '-t' to set the total threads for delete keys job.
151+
152+
Here we show a performance test:
153+
154+
1. 45 redis nodes in cluster
155+
156+
2. 24 threads to run the delete job(cpu has 24 threads)
157+
158+
3. Nine hundred million keys in the redis cluster
159+
160+
4. delete two hundred million keys
161+
162+
del_keys job used 92 seconds(about two million keys per second)
163+
164+
The del_keys job can be speed up with lock-free list in the future.
149165

150166
## License
151167

0 commit comments

Comments
 (0)