Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SharedMemoryCache

SharedMemoryCache is a C++14 process-shared key-value cache using POSIX mmap or System V shared memory, fixed-size value blocks, a hash table, LRU metadata, and process-shared synchronization.

Build

cmake -S . -B build
cmake --build build

On macOS ARM, use a GCC toolchain that supports the required shared-memory and assembly paths.

Test

build/bin/smoke
build/bin/continued
build/bin/edge
build/bin/normal

The default attach configuration uses System V shared memory and is intended for Linux. Use cfg/attach-mmap.conf on macOS, where sandboxing can reject shmat(). See data_structure.pdf for the storage layout.

About

A local cache using shared memory

Resources

Stars

1 star

Watchers

1 watching

Forks

Contributors

Languages