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

Rust: Web Framework - Rocket #370

Open
4 tasks done
Tracked by #371 ...
hhstore opened this issue Jun 30, 2022 · 5 comments
Open
4 tasks done
Tracked by #371 ...

Rust: Web Framework - Rocket #370

hhstore opened this issue Jun 30, 2022 · 5 comments

Comments

@hhstore
Copy link
Owner

hhstore commented Jun 30, 2022

related:

@hhstore
Copy link
Owner Author

hhstore commented Jun 30, 2022

Rocket:

前言:

  • 调研了一堆 axum 等, 绕了一圈, 还是回到 rocket.
  • 尝鲜, 是有成本的. 新项目(axum)的发展很漫长.
  • 还是遵循市场规则. 社区主流选择, 还是 rocket.

官方:

特性:

  • 借鉴了 rails/flask 等特性.
  • API 使用友好.
  • 支持异步
  • 性能一般
  • 生态最丰富.
  • 开源社区大量项目使用 rocket 开发.

Rocket 插件:

ref:

一个投票:

性能对比:

@hhstore
Copy link
Owner Author

hhstore commented Jun 30, 2022

@hhstore
Copy link
Owner Author

hhstore commented Jun 30, 2022

Rocket 实践案例:

说明:

  • 大量生产级别的 rust web 项目, 都是基于 rocket.
  • 质量和可靠性无需怀疑.

项目:

@hhstore
Copy link
Owner Author

hhstore commented Jun 30, 2022

@hhstore
Copy link
Owner Author

hhstore commented Jun 30, 2022

1

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

No branches or pull requests

1 participant