Skip to content

Commit

Permalink
Update architecture to include database info.
Browse files Browse the repository at this point in the history
  • Loading branch information
FireMasterK committed Aug 4, 2023
1 parent cfce6c0 commit c41ad4f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion content/docs/architecture/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,21 @@ Piped has 3 components:
- Uses Java 17
- Uses a JNI wrapper around [Reqwest](https://github.com/seanmonstar/reqwest), a Rust HTTP client.
- Uses ActiveJ to achieve maximum performance. Which is [really fast](https://web-frameworks-benchmark.netlify.app/result)
- Supports OpenJ9
- Supports OpenJ9, and Hotspot
- Each running instance should configure their own proxy, thus allowing multi-gigabit content delivery.
- Uses ~70-130 MB of ram. (on OpenJ9)

## Database

- We currently support PostgreSQL, CockroachDB and YugabyteDB for high availability deployments.

# Proxy

- Uses Rust.
- Has HTTP/2 support.
- Uses [actix-web](https://github.com/actix/actix-web) and [reqwest](https://github.com/seanmonstar/reqwest) for maximum performance.
- Low memory footprint and high throughput.
- Converts `jpeg` images to `webp` on the fly to reduce bandwidth usage.

# Server-Side Caching

Expand Down

0 comments on commit c41ad4f

Please sign in to comment.