Usage of "persistence-available" flag. #99
Unanswered
SNavneet080
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to deploy and use Redis 5.0.10 as an in-memory-only Cache, i.e. disabling all persistence. Removing "save", "appendonly" etc. in the config file does prevent db file creation, but it won't stop execution of certain commands like BGSAVE which would create the db file.
I see in the code that we have flag - "persistence-available", which as per my understanding will disable Redis persistence, exclude certain commands like - "bgsave", "bgwrtieaof", "replconf" etc. & also validate command line combinations. It also redirects heap allocations to system heap allocator - VirtualAlloc(). (memory will not be allocated from the memory map heap, instead the system heap will be used ).
Please advise if using "persistence-available" flag which would use system heap allocator can have any adverse implications.
Beta Was this translation helpful? Give feedback.
All reactions