mirror of
https://github.com/DullJZ/s3-balance.git
synced 2026-07-03 09:01:22 +08:00
Update README
This commit is contained in:
@@ -10,7 +10,7 @@ S3 Balance 是一个用 Go 编写的 S3 兼容负载均衡器,可在多套对
|
||||
- **多桶调度**:支持轮询、剩余空间、加权和一致性哈希等策略,可热切换。
|
||||
- **健康监控**:周期性探活与容量统计,Prometheus 指标暴露在 `/metrics`。
|
||||
- **虚拟桶映射**:对外只暴露虚拟桶名称,真实桶在后端透明调度。
|
||||
- **代理或重定向模式**:可选择由服务转发数据,或返回预签名 URL 让客户端直连。
|
||||
- **代理或重定向模式**:可选择由服务转发数据,或返回302重定向让客户端直连。
|
||||
- **SigV4 认证**:配置 `s3api.auth_required` 后,通过 `github.com/DullJZ/s3-validate` 校验 AWS Signature Version 4 请求。
|
||||
|
||||
## 快速开始
|
||||
|
||||
@@ -8,7 +8,7 @@ S3 Balance is an S3-compatible load balancer written in Go. It automatically sel
|
||||
- **Multi-bucket Scheduling**: Supports strategies like round-robin, least-space, weighted, and consistent hashing, with hot-swapping capabilities.
|
||||
- **Health Monitoring**: Periodic health checks and capacity statistics, with Prometheus metrics exposed at `/metrics`.
|
||||
- **Virtual Bucket Mapping**: Only virtual bucket names are exposed externally, while real buckets are transparently scheduled in the backend.
|
||||
- **Proxy or Redirect Mode**: Choose between service-forwarded data or pre-signed URLs for direct client connections.
|
||||
- **Proxy or Redirect Mode**: Choose between service-forwarded data or 302 redirects for direct client connections.
|
||||
- **SigV4 Authentication**: When `s3api.auth_required` is enabled, AWS Signature Version 4 requests are validated using `github.com/DullJZ/s3-validate`.
|
||||
|
||||
## Quick Start
|
||||
|
||||
Reference in New Issue
Block a user