# memcache-async

> A no-frills async memcached client for Rust.

Source: https://talira.ai/catalog/memcache-async-k5thvkc7
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [databases / in memory](https://talira.ai/categories/databases/in-memory), [languages / rust](https://talira.ai/categories/languages/rust)
- Licence: MIT[^1]
- Pricing: Free and open source[^1][^2]
- Free tier: yes[^1][^2]
- Self-hostable: yes[^2]
- Creator: Marek Vavruša

memcache-async implements memcached's ASCII protocol on any stream that implements AsyncRead and AsyncWrite, with either the futures or the tokio I/O traits (a feature picks which). It has get, multi-get, set, add, append, delete, increment and decrement, compare-and-swap and flush over TCP, UDP or a Unix socket, and works with byte slices: the caller serializes values. It talks to one connection at a time; connection pooling, several servers and key hashing are left to the caller. set and delete are sent with noreply.

## Links

- GitHub: https://github.com/vavrusa/memcache-async
- Docs: https://docs.rs/memcache-async

## Problems it solves

- I need an async memcached client for a Rust web server on tokio
- cache rendered pages and query results in memcached from Rust
- a small memcached protocol implementation I can wrap in my own timeouts, pooling and failover
- talk to memcached from Rust over a Unix socket or UDP
- write a cache driver for my Rust web framework backed by memcached

## Features

- ASCII protocol
- futures or tokio I/O traits
- TCP, UDP and Unix socket streams
- get, multi-get, set, add, append, delete
- increment, decrement and compare-and-swap

## Capabilities

- Has official SDKs: plan not known

## Trust

Overall: 0.23 out of 1.
Signals: maintenance 0.27, adoption 0.28, momentum 0.03, community 0.51, backing 0.20, extensibility 0.00.

- 23 GitHub stars
- 18 contributors
- created by Marek Vavruša

Warnings:

- last commit 6 months ago

## Alternatives

- [Memcached](https://talira.ai/catalog/memcached-qjqvpryd.md): A high performance multithreaded event-based key/value cache store intended to be used in a distributed system.
- [Amazon ElastiCache](https://talira.ai/catalog/amazon-elasticache-q97xc503.md): Fully managed, Valkey-, Memcached-, and Redis OSS-compatible caching service
- [Dragonfly](https://talira.ai/catalog/dragonfly-anqs23rc.md): The world's most efficient in-memory data store

## Sources

[^1]: https://github.com/vavrusa/memcache-async/blob/master/LICENSE (checked 17 Nov 2026)
[^2]: https://github.com/vavrusa/memcache-async (checked 17 Nov 2026)
