Files
cache-proxy/memory-bank/projectbrief.md
guochao 2a0bd28958
Some checks failed
build container / build-container (push) Has been cancelled
use cline and prepare to test the project for further development
2025-06-10 14:14:32 +08:00

11 lines
898 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 项目简介Cache-Proxy
这是一个使用 Go 语言编写的高性能缓存代理服务器。其核心功能是接收客户端的请求并将其转发到多个配置好的上游Upstream镜像服务器。它会并发地向上游服务器发起请求并选择最快返回响应的服务器将其结果返回给客户端同时将结果缓存到本地以便后续请求能够更快地得到响应。
## 核心需求
- **性能**: 必须能够快速地处理并发请求,并有效地利用缓存。
- **可靠性**: 当某个上游服务器不可用时,能够自动切换到其他可用的服务器。
- **可配置性**: 用户可以通过配置文件轻松地添加、删除和配置上游服务器、缓存策略以及其他行为。
- **透明性**: 对客户端来说,代理应该是透明的,客户端只需像访问普通服务器一样访问代理即可。