httpredirect-server

Crates.iohttpredirect-server
lib.rshttpredirect-server
version0.1.1
sourcesrc
created_at2019-12-08 10:21:03.823402
updated_at2023-09-25 14:10:56.552334
descriptionA simple redirect server
homepagehttps://httpredirect-server.netlify.com/
repositoryhttps://github.com/zoosky/httpredirect-server
max_upload_size
id187266
size89,559
Zoo Sky (zoosky)

documentation

README

httpredirect-server

Rust Docker Fly Deploy

A custom URL shortener use – written in Rust, build with Tokio and Axum, and deployed to Fly.io.

Load Testing

A k6 load-testing script is in the load-test directory.

The load tests can be run with the following command (assuming k6 is installed):

k6 run load-test/script.js

Deployment

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?)
Commit count: 0

cargo fmt