antirez
30adc62232
RDB: load files faster avoiding useless free+realloc.
...
Reloading of the RDB generated by
DEBUG POPULATE 5000000
SAVE
is now 25% faster.
This commit also prepares the ability to have more flexibility when
loading stuff from the RDB, since we no longer use dbAdd() but can
control exactly how things are added in the database.
2020-04-09 10:24:46 +02:00
zhaozhao.zz
fddeeae724
refactor dbOverwrite to make lazyfree work
2018-07-31 12:07:57 +08:00
Jack Drogon
93238575f7
Fix typo
2018-07-03 18:19:46 +02:00
antirez
c45366be0a
Put more details in the comment introduced by #4601 .
2018-01-15 12:50:08 +01:00
zhaozhao.zz
0517ab8397
lazyfree: fix memory leak for lazyfree-lazy-server-del
2018-01-15 00:45:37 +08:00
antirez
2a51bac44e
Simplify atomicvar.h usage by having the mutex name implicit.
2017-05-04 17:01:00 +02:00
antirez
52bc74f221
Lazyfree: fix lazyfreeGetPendingObjectsCount() race reading counter.
2017-05-04 10:35:40 +02:00
antirez
1409c545da
Cluster: hash slots tracking using a radix tree.
2017-03-27 16:37:22 +02:00
antirez
a636aeac07
Apply the new dictUnlink() where possible.
...
Optimizations suggested and originally implemented by @oranagra.
Re-applied by @antirez using the modified API.
2016-09-14 16:37:53 +02:00
root
28e80bf96d
fix linux compile bug
2016-01-13 00:49:28 -08:00
antirez
1f26a9468f
Lazyfree: pending objects count in INFO output.
2015-10-01 13:02:26 +02:00
antirez
c69c6c80fb
Lazyfree: ability to free whole DBs in background.
2015-10-01 13:02:26 +02:00
antirez
b08c36c5f2
Lazyfree: keep count of objects to free.
2015-10-01 13:02:25 +02:00
antirez
7af4eeb745
Lazyfree: incremental removed, only threaded survived.
2015-10-01 13:02:25 +02:00
antirez
9253d85073
Threaded lazyfree WIP #1 .
2015-10-01 13:02:25 +02:00
antirez
0c05436cef
Lazyfree: a first implementation of non blocking DEL.
2015-10-01 13:00:19 +02:00