A
A
Artem Rogozin2019-08-09 14:55:56
caching
Artem Rogozin, 2019-08-09 14:55:56

What is a two-level cache?

It is necessary to implement a two-level cache, the first level stores data in RAM, the second - on the hard disk. I don’t quite understand the interaction of these levels with each other, but there is an assumption: writing occurs only to the RAM, but if the memory runs out (in this case, we set the limit ourselves), then we write to the hard disk. And what happens to records whose lifetime has expired, are they deleted or go to the hard drive?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question