mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2025-05-10 09:55:45 +02:00
chore(tiering): add protection against overruning memory budget (#3327)
chore(tiering): Introduce second chance replacement strategy Introduce hot/cold replacement strategy https://www.geeksforgeeks.org/second-chance-or-clock-page-replacement-policy/ Also, add protection against overruning memory budget Finally, cancel in-flight offloading requests for entries that were looked up. Signed-off-by: Roman Gershman <roman@dragonflydb.io>
This commit is contained in:
parent
d51fea09e2
commit
b9f8671df9
12 changed files with 81 additions and 55 deletions
|
@ -6,6 +6,7 @@
|
|||
|
||||
#include <absl/strings/match.h>
|
||||
|
||||
#include "base/flags.h"
|
||||
#include "base/logging.h"
|
||||
#include "facade/op_status.h"
|
||||
#include "redis/redis_aux.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue