Jammy Lee
Jammy Lee

Reputation: 1516

Can Redis dump the keys when it is evicted to free memory or it is expired

I want to use Redis in this way

  1. Load the entries (which are reading/editing by user) from file db, set to expire in a period of time
  2. Edit & read them on Redis
  3. Store back to file db when it is auto-deleted by Redis (while it is evicted to free memory or it is expired )

Upvotes: 1

Views: 659

Answers (1)

Itamar Haber
Itamar Haber

Reputation: 49942

This isn't something that Redis does OOTB but with a little effort you can achieve it. See this for more info: https://stackoverflow.com/a/25827681/3160475

Upvotes: 2

Related Questions