Memcached
Status: Full
Default port: 11211
Compared against: memcached 1.6.45
Scores are from
mainata3232c9(2026-11-30) unless noted. Full means a deep multi-phase differential suite matches the reference and real applications run on the wire; Preview means the suites are strong but app coverage, a local reference or a known gap is still missing. See How a wire is proven.
What was measured
304/304: same connection 292, second connection 12.
Feature matrix 23/23; auth 15/15.
(source: README.md, Wire scorecard)
Connect
printf 'version\r\n' | nc 127.0.0.1 11211
This is an ordinary client command for illustration, not taken from the test suites. The exact client settings the suites use are in the scripts listed below.
Accounts: the superuser is postgres on a new install. Create users with CREATE USER ... PASSWORD over the PostgreSQL wire. How each wire authenticates, and which wires are open by default, is in Security.
Known gaps
- By default writes are persisted by a background writer, so
kill -9can lose recent writes (bounded bySYNERGYDB_MEMCACHED_MAX_LAG, 20000), similar to Redisappendfsync everysec. In thea3232c9proof run the restart check read back only 9/23 items in this default mode (other runs pass 23/23). -
SYNERGYDB_MEMCACHED_DURABILITY=synclost 0 acknowledged writes over 3kill -9rounds, at 43% to 67% of memcached's throughput. - Access: open to loopback clients only; clients from other addresses authenticate as SynergyDB users.
SYNERGYDB_MEMCACHED_AUTH=usersmakes everyone authenticate;=openrestores a fully open port for a trusted private network.
(source: README.md, Known gaps, unless another file is named)
Re-run the proof
One command, from a clone of the repository (needs Docker, Python 3.10+ and Rust):
make prove ARGS='--wires memcached'
This starts the reference engine in Docker next to a fresh SynergyDB, runs every phase and writes prove/out/latest/report.html. (source: prove/README.md)
By hand:
python test-scripts/diff-memcached/diff_memcached.py --restart-cmd '<restart SynergyDB>'
The by-hand steps (reference containers, Python packages, the all-wires diff config) are in Benchmarks and reproduction.
Proof files
docs/proof/2026-11-30/proof-pack-a3232c9/logs/memcached-text-binary-second-connection-restart.txtdocs/proof/2026-11-30/proof-pack-a3232c9/logs/memcached-feature-matrix.txtdocs/status/2026-11-29-open-wires-fail-closed.mddocs/status/2026-11-30-memcached-lru.md