Replies: 2 comments 1 reply
-
This sounds like a good idea, but pretty low priority -- that build time is a one-time hit, after all. I think And, what kind of future improvements might we make that Actix would support, while Hyper would render difficult? If we added endpoints to manage clientIds, for example? Or authentication middleware? |
Beta Was this translation helpful? Give feedback.
1 reply
-
Maybe the right approach is #167? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
actix-web
brings in several hundred crates as dependencies, and adds a lot to the build time (over a minute for me). Given the sync server has a nice small API (about two end points serving a custom document format), it probably don't benefit much from a large web-framework - instead we could probably use a lower level HTTP server cratehyper
- not the lightest of weight crates (around 17 sec to build for me), but reasonably constrained in scope. Still 0.x but widely used enough that the minor version bumps are treated much like major version bumps (each minor release seems quite well supported, e.g there was 35 patch releases for v0.12)tiny_http
I've used before via roullie, it seems quite stable but not too actively maintained, and thread-pool based. There's also a pile of other experimental web server/frameworksBeta Was this translation helpful? Give feedback.
All reactions