benedekh / WeLoveClouds

Repository for submissions on the CloudDB course.
0 stars 1 forks source link

Modify the PersistendStorageUnit so that it always retrieves the Map from the HDD/SSD #102

Closed benedekh closed 7 years ago

benedekh commented 7 years ago

even though the KVPersitentStorage stores a reference for the PSU.

Otherwise it contradicts the purpose of the KVCache, if the PSU always store the data both in-memory and on the HDD.

benedekh commented 7 years ago

Extend this extra feature so that only that part of the data structure is retrieved from the disk, which is being queried or modified. Think of concurrent modifications (e.g. warning protocol if it is a hierarchical data structure).