Re:Diesel: A Safe, Extensible ORM and Query Builder for Rust
by steveklabnik on Saturday February 06, 2016 @12:39PM
(#11048736)
I don't know of one, so let me write up something short:
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.
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.
By default, everything is statically linked except glibc, so you make sure that those are compatible and then copy the binary.
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)
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...
[ Parent
| on HN ]
Re:Diesel: A Safe, Extensible ORM and Query Builder for Rust
by dikaiosune on Saturday February 06, 2016 @02:43PM
(#11049391)
> 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: