2 ms·
Ok I'll take a look at Warp if I can't get my compile times down with the suggestions from others. I initially wrote my code using Tide, but I'm streaming data
by josephg 6y ago
Ok I'll take a look at Warp if I can't get my compile times down with the suggestions from others.
I initially wrote my code using Tide, but I'm streaming data through long-lived HTTP responses (with a protocol similar to SSR). Tide made this extremely difficult to pull off. Actix (not actix-web) makes this much cleaner, because I can create an actor per web client. The actor owns the connection, and I can send messages to the actor to be translated into bytes and sent over the wire. Even if I use something other than actix-web, I might keep using actix for the actor based programming model (which is a good fit for my project). And if I'm doing that, actix-web seems like the obvious choice for the web component.