https://github.com/konippi/pingora-proxy-rs
Reverse Proxy Server with Pingora
https://github.com/konippi/pingora-proxy-rs
pingora reverse-proxy rust
Last synced: 8 months ago
JSON representation
Reverse Proxy Server with Pingora
- Host: GitHub
- URL: https://github.com/konippi/pingora-proxy-rs
- Owner: Konippi
- License: mit
- Created: 2025-02-09T14:19:51.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-13T11:44:10.000Z (about 1 year ago)
- Last Synced: 2025-03-13T12:33:46.728Z (about 1 year ago)
- Topics: pingora, reverse-proxy, rust
- Language: Rust
- Homepage:
- Size: 96.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Reverse Proxy Server with Pingora
This example focuses on how to implement a reverse proxy server using [Pingora](https://github.com/cloudflare/pingora).
## Pingora
> Pingora is a Rust framework to build fast, reliable and programmable networked systems. Pingora is battle tested as it has been serving more than 40 million Internet requests per second for more than a few years.
## Implemented features
- Round-robin load balancing
- Health checking for upstream servers
- Rate limiting
- Integration with Opentelemetry
## How to run
1. Start OpenTelemetry collector and OpenObserve containers
```console
$ docker compose up -d
```
2. Run the proxy server
```console
$ cargo run
```
3. Make a sample request to the proxy server
```console
$ curl localhost:6188 -H "appid:1" -vi
```
## Visualizing signals with OpenObserve
