Hot on the heels of sitting on it for more than a year, and finally getting around to fixing ancient bugs and performance shortcomings...
NEW: slabbis v0.1.2
slabbis is a Go cache library with an optional Redis-compatible server. Embed it directly in your Go service for in-process performance, or run it standalone over RESP2 — same cache, same interface, two deployment models.
Repo:
https://github.com/ha1tch/slabbis#readme
Release
https://github.com/ha1tch/slabbis/releases/tag/v0.1.2
v0.1.2 is a focused performance release. The short version: MGET went from the weakest operation to beating Redis outright, and tail latency on mixed workloads dropped significantly. A new perf/ directory ships a full benchmark report with charts.
Highlights
% Cache.GetInto — zero-allocation sibling of GetCopy
% Server GET and MGET now use a sync.Pool
% MGET streaming response: array header written first
% MGET throughput: 68k --> 162k ops/s (RESP), now ahead of Redis at 145k/s
% MGET in-process: 804k --> 1.86M ops/s; p999 1.70ms --> 64µs
% perf/ — benchmark report (LaTeX + matplotlib) with five charts comparing in-process vs slabbis-RESP vs Redis across two versions
Changelog:
https://github.com/ha1tch/slabbis/blob/main/CHANGELOG.md
#golang #foss #cache #redis #performance #programming #cache #caching #cloud #redis