🚦 路碑 | 一个不局限于反向代理的反向代理服务器
LittleSheep
1fb8bba5c4
All checks were successful
release-nightly / build-docker (push) Successful in 1m8s
|
||
---|---|---|
.fleet | ||
.gitea/workflows | ||
.idea | ||
.vscode | ||
config | ||
pkg | ||
test/benchmark | ||
Dockerfile | ||
go.mod | ||
go.sum | ||
README.md | ||
settings.yml |
🚦 RoadSign
A blazing fast reverse proxy with a lot of shining features.
Features
- Reverse proxy
- Static file hosting
Analytics and Metrics- Integrate with CI/CD
- Webhook integration
Web management panel- Blazing fast ⚡
Deleted item means under construction, check out our roadmap!
How fast is it?
We use roadsign and nginx to host a same static file, and test them with go-wrk. Here's the result:
Software | Total Requests | Requests per Seconds | Transfer per Seconds | Avg Time | Fastest Time | Slowest Time | Errors Count |
---|---|---|---|---|---|---|---|
Nginx | 515749 | 4299.58 | 2.05MB | 13.954846ms | 0s (Cached) | 410.6972ms | 0 |
RoadSign | 8905230 | 76626.70 | 30.98MB | 783.016µs | 28.542µs | 46.773083ms | 0 |
RoadSign w/ Prefork | 4784308 | 40170.41 | 16.24MB | 1.493636ms | 34.291µs | 8.727666ms | 0 |
As result, roadsign undoubtedly is the fastest one.
It can be found that the prefork feature makes RoadSign more stable in concurrency. We can see this from the Slowest Time. At the same time, the Fastest Time is affected because reusing ports requires some extra steps to handle load balancing. Enable this feature at your own discretion depending on your use case.
More details can be found at benchmark's README.md