# httpredirect-server [![Rust](https://github.com/zoosky/httpredirect-server/actions/workflows/rust.yml/badge.svg)](https://github.com/zoosky/httpredirect-server/actions/workflows/rust.yml) [![Docker](https://github.com/zoosky/httpredirect-server/actions/workflows/docker-publish.yml/badge.svg)](https://github.com/zoosky/httpredirect-server/actions/workflows/docker-publish.yml) [![Fly Deploy](https://github.com/zoosky/httpredirect-server/actions/workflows/fly.yml/badge.svg)](https://github.com/zoosky/httpredirect-server/actions/workflows/fly.yml) A custom URL shortener use – written in Rust, build with [Tokio](https://github.com/tokio-rs/tokio) and [Axum](https://github.com/tokio-rs/axum), and deployed to Fly.io. ## Load Testing A [k6](https://k6.io) load-testing script is in the [load-test](./load-test/) directory. The load tests can be run with the following command (assuming k6 is installed): ```bash k6 run load-test/script.js ``` ## Deployment ```bash flyctl deploy ``` ## Possible Roadmap - Performance improvements - Binary-size improvements - Better logging - Setting a timeout (currently Fly.io times out the application) - Tracking Stats & Metrics (in a database?) - Storing links externally (in Redis or a database?)