Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace warp with axum #116

Closed
2 tasks done
mickvandijke opened this issue Nov 24, 2022 · 6 comments
Closed
2 tasks done

Replace warp with axum #116

mickvandijke opened this issue Nov 24, 2022 · 6 comments

Comments

@mickvandijke
Copy link
Member

mickvandijke commented Nov 24, 2022

@da2ce7
Copy link
Contributor

da2ce7 commented Nov 28, 2022

@josecelano suggested that we might want to consider Rocket. From the looks of it, it seems really cool!

https://github.com/SergioBenitez/Rocket/tree/master

@da2ce7
Copy link
Contributor

da2ce7 commented Nov 30, 2022

In addition, by the same primary author as Rocket, there is Figment, for managing the configuration the application.

@mickvandijke
Copy link
Member Author

@josecelano suggested that we might want to consider Rocket. From the looks of it, it seems really cool!

https://github.com/SergioBenitez/Rocket/tree/master

Hey @da2ce7 @josecelano ,

Rocket's documentation does look really nice, but the project still has a long way to go to compete with other webserver frameworks in Rust in terms of performance: https://web-frameworks-benchmark.netlify.app/result?asc=0&l=rust&metric=totalRequestsPerS&order_by=level512.

@da2ce7
Copy link
Contributor

da2ce7 commented Dec 5, 2022

@josecelano suggested that we might want to consider Rocket. From the looks of it, it seems really cool!
https://github.com/SergioBenitez/Rocket/tree/master

Hey @da2ce7 @josecelano ,

Rocket's documentation does look really nice, but the project still has a long way to go to compete with other webserver frameworks in Rust in terms of performance: https://web-frameworks-benchmark.netlify.app/result?asc=0&l=rust&metric=totalRequestsPerS&order_by=level512.

The difference seems to be about 50% of the speed of the competition. - This isn't so devastating. Using a better and more correct interface is of significant advantage. Optimization for speed can always be preformed later.

@Power2All
Copy link
Contributor

@josecelano suggested that we might want to consider Rocket. From the looks of it, it seems really cool!
https://github.com/SergioBenitez/Rocket/tree/master

Hey @da2ce7 @josecelano ,
Rocket's documentation does look really nice, but the project still has a long way to go to compete with other webserver frameworks in Rust in terms of performance: https://web-frameworks-benchmark.netlify.app/result?asc=0&l=rust&metric=totalRequestsPerS&order_by=level512.

The difference seems to be about 50% of the speed of the competition. - This isn't so devastating. Using a better and more correct interface is of significant advantage. Optimization for speed can always be preformed later.

Sadly, performance is the crux when it comes to trackers.
Currently, I've got my own project based on Torrust-Tracker, and it's already straining with using Axum, let stand using Rocket where I could literally keelhaul my server.

@josecelano
Copy link
Member

Done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

4 participants