Skip to content

Challenge 28: Correction in learning material #1893

Description

@aruncs

In the learning material, under the heading Advanced Cache Concepts, it is mentioned that we can use RLock inside Get call. But this is not the case for all the eviction policy. This works incase of FIFO since there are no modifcations happening. But incase of LRU, LFU etc, we can not use RLock since we are modifying the internal structures of cache implementation(the doubly linked list).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions