4 ms·
I don't know of one, so let me write up something short: > embedded http server vs using apache or nginx For now, put nginx in front of things, at least if
by steveklabnik 11y ago
I don't know of one, so let me write up something short:
> embedded http server vs using apache or nginx
For now, put nginx in front of things, at least if you're using one of the non-rotor frameworks. That's because they are synchronous for now. This will change soonish, more below.
> prefered concurrency model ?
If you're using a framework, this is handled for you already. If you're building something custom, you probably want to use something like mio to make it asynchronous. Current frameworks are all using synchronous IO, but work is undergoing to switch that, which will then percolate upwards through the ecosystem.
> deployment issues ?
By default, everything is statically linked except glibc, so you make sure that those are compatible and then copy the binary.
> third-party connectivity ?
Wonderful or nonexistent depending. We're still youngish, so there's gaps. Support ranges from "provided by the vendor itself" (mongo) to "nonexistent" (some random noSQL store that might be popular amongst a certain group but someone hasn't written a binding yet)
> current frameworks status ?
The two most well-known are Iron and Nickel. Crates.io uses its own homegrown framework due to age. The author of Diesel may or may not be working on a new one to go with it...
- dikaiosune 11y ago> The author of Diesel may or may not be working on a new one to go with it... IIRC, he hints at working on one (I think with Yehuda Katz?) in the podcast where he talked about Diesel: http://bikeshed.fm/49 http://bikeshed.fm/49