Simple Todo Backend Application made with Rust and Actix for performance benefits source.
You need to install cargo package available for your system.
Run docker-compose (in background):
docker-compose up -dCommand to populate postgres db:
psql -h 127.0.0.1 -p 5432 -U rust rust < database.sqlcargo runcargo build --releaseHomepage:
ab -n 10000 -k -c 30 -q http://localhost:8080/Todos page (includes postgres reads):
ab -n 10000 -k -c 30 -q http://localhost:8080/todosPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.