https://github.com/dmk/bifrost
Memcached proxy.
https://github.com/dmk/bifrost
Last synced: 11 months ago
JSON representation
Memcached proxy.
- Host: GitHub
- URL: https://github.com/dmk/bifrost
- Owner: dmk
- Created: 2025-07-20T10:26:05.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-07-20T10:34:17.000Z (11 months ago)
- Last Synced: 2025-07-20T12:19:02.565Z (11 months ago)
- Language: Rust
- Size: 43.9 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Bifrost
An intelligent Memcached proxy with routing, failover, and load balancing capabilities.
## Features
- **Smart Routing**: Route requests based on key patterns
- **Multiple Strategies**: Blind forward, round robin, failover, and miss failover
- **Connection Pooling**: Efficient connection management with bb8
- **YAML Configuration**: Simple, readable configuration files
## Quick Start
1. **Start backend memcached servers**:
```bash
docker-compose up -d
```
2. **Run bifrost**:
```bash
cargo run -- --config examples/simple.yaml
```
3. **Test the proxy**:
```bash
echo "set test 0 0 5\r\nhello\r\n" | nc 127.0.0.1:11211
```
## Configuration
See [examples](./examples) for configuration samples including failover, load balancing, and routing setups.
## License
Apache 2.0 - See [LICENSE](LICENSE) file for details. Attribution required.