Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/impact-eintr/ecache
一个http和tcp缓存服务器
https://github.com/impact-eintr/ecache
cache cache-storage golang http-server
Last synced: about 2 months ago
JSON representation
一个http和tcp缓存服务器
- Host: GitHub
- URL: https://github.com/impact-eintr/ecache
- Owner: impact-eintr
- License: mit
- Created: 2021-07-12T01:15:29.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-10-08T12:37:29.000Z (about 3 years ago)
- Last Synced: 2023-07-27T22:13:25.224Z (over 1 year ago)
- Topics: cache, cache-storage, golang, http-server
- Language: Go
- Homepage:
- Size: 26.4 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ecached
分布式缓存## 安装
ecached的落盘是基于rocksdb> arch系
```bash
sudo pacman -S rocksdbgit clone https://github.com/impact-eintr/ecache.git
cd ecache/cmd/ecachd
go build
./ecachd -h
Usage of ecached:
-T int
缓存生存时间 默认为0 即不失效
-d string
磁盘缓存目录 请务必指定 (default "/tmp/ecached")
-hp string
ecached http 服务端口 (default "7895")
-t string
缓存类型 可选项 mem disk (default "mem")
-tp string
ecached tcp 服务端口 (default "6430")
```