Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

A local cache using shared memory

Notifications You must be signed in to change notification settings

cestlascorpion/SharedMemoryCache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

shmcache

re-write libshmcache for practice. The data structure is quite different from libshmcache, see the pdf for more info.

TODO

  1. replace mutex with rwlock?
  2. move read_date() out of the lock and add check algo(crc32?) to ensure that the data is complete?
  3. add compress algorithm for value?