High performance and lightweight in-memory cache library with LRU and FIFO support as well as memory-usage-based-eviction
MIT License
Bot releases are visible (Hide)
Published by TwiN almost 4 years ago
AutoSaveFile
into cache on start #1Published by TwiN about 4 years ago
limit
Even though the change on GetKeysByPattern
is a breaking change, considering that this library is not currently very popular, this should be acceptable.
Published by TwiN about 4 years ago
Published by TwiN about 4 years ago
FLUSHDB
commandTTL
commandEXPIRE
commandSETEX
commandEX
and PX
in the SET
commandPublished by TwiN over 4 years ago
Published by TwiN over 4 years ago
cache.Delete(key)
now returns a bool based on whether the key existed or notEXISTS
on the serverDEL
now supports multiple keys rather than just onePublished by TwiN over 4 years ago
ReadFromFile
and SaveToFile
sync.Mutex
by sync.RWMutex
for performance reasonsgocacheserver
packageEDIT: For persistence, please use v0.0.4+ instead. There was a pretty decent oversight in the implementation, and it was resolved in v0.0.4.
Published by TwiN over 4 years ago
Published by TwiN over 4 years ago
First release