[2023-06-20 18:25.42 +0000]
Poem:
Pluses:
- Good for openapi documentation (we may not need this tho)
# https://www.reddit.com/r/rust/comments/12jhxi2/comment/jfyurd7/
# https://www.reddit.com/r/rust/comments/12jhxi2/comment/jfyw7f7/
- Easy to use
# https://www.reddit.com/r/rust/comments/12jhxi2/comment/jfyurd7/
Axum:
Pros:
- Lighter (codebase, byte size)
- In fashion (trending)
Cons:
- Documentation could be better (might be incomplete for beginners)
# https://www.reddit.com/r/rust/comments/p5tg9v/comment/h9jsea7/
- A bit complicated for beginners unfamiliar with rust ecosystem (ie [curse of more choices] of integrations)
I have mentors though. So this may be surmountable.
# https://www.reddit.com/r/rust/comments/12jhxi2/comment/jfycbky/ | 2 months ago
https://www.reddit.com/r/rust/comments/p5tg9v/thoughts_on_axum/
curse of more choices: barry_schwartz_the_paradox_of_choice @ TED
Actix:
Pros:
- Easy to use, battle tested.
- Possibility to port later to Axum
- Documentation seems to be available.
Cons:
- Need to match tokio version
# https://users.rust-lang.org/t/axum-instead-of-actix-web/71205
- Axum could be 'better' (ex less latency in some scenarios). Both are incredibly fast though.
Rocket:
Pros:
- Well designed and performant. (Author is in academia)
Cons:
- Bus factor 1
# https://www.reddit.com/r/rust/comments/12jhxi2/comment/jfy4e02/ | 2 months ago
Fun quotes:
https://www.reddit.com/r/rust/comments/vj3n65/comment/jhmvupi/
Other references, discussions
https://users.rust-lang.org/t/axum-instead-of-actix-web/71205
https://www.reddit.com/r/rust/comments/vj3n65/tokioaxum_or_actixweb/
A short statement exhibiting general feels
I like Axum, but actix is fast on ramping. Everything comes bundled from the start, so Axum has a learning curve if you’re not up to date on the rust ecosystem e.g. do I use Tokio or std async how do I add logging (tracing ecosystem) etc
- reddit user
Decisions
Thinking or seeing docs of Axum , Actix and decide.
Rocket development is uncertain / patchy. Consider in future.