Releases: TwiN/gocache
Releases · TwiN/gocache
v0.1.1
v0.1.0
gocache
- Implemented SetAll
- GetKeysByPattern must now be called with a
limit
Even though the change on GetKeysByPattern
is a breaking change, considering that this library is not currently very popular, this should be acceptable.
gocacheserver
- Implemented MSET
- Implemented SCAN (without cursor)
- Fixed a parity issue when adding data through the server
- Added integration tests
v0.0.7
v0.0.6
gocache
- Added support for cache entry TTL
- Added async janitor for background clean up of expired keys
- Added more tests
- Fixed memory leak
gocacheserver
- Added support for
FLUSHDB
command - Added support for
TTL
command - Added support for
EXPIRE
command - Added support for
SETEX
command - Added support for
EX
andPX
in theSET
command - Fixed issue caused by using the default port instead of the server port
v0.0.5
v0.0.4
v0.0.3
- Improved documentation
- Added persistence through
ReadFromFile
andSaveToFile
- Replaced
sync.Mutex
bysync.RWMutex
for performance reasons - Added ready-to-go cache server in new
gocacheserver
package - Added performance section in documentation
EDIT: 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.
v0.0.2
- Significantly improved eviction process by leveraging doubly linked list (rather than iterating through the entire map to evict the oldest entry (or least recently used entry if using LRU), we keep track of the head/tail of the cache and the entries keep track of the next/previous node)
- Added more benchmarks
- Improved test coverage