On Mon, Jan 23, 2012 at 8:07 AM, Jeffrey Van Voorst <[email protected]> wrote: > On Jan 23, 2012 4:42 AM, "lkcl luke" <[email protected]> wrote: >> On Mon, Jan 23, 2012 at 1:56 AM, C Anthony Risinger <[email protected]> >> wrote: >> >> > Mongrel2 might be used to handle https connections and could also >> >> actually having seen what mongrel2 actually is i'm massively >> impressed by it. i love any kind of "goodbye apache, hello >> short-and-sweet thing with a bit of python thrown in" thing. > > I was actually a bit surprised to see Anthony in the uwsgi mailing list.
yeah i gets around a bit :-) > I second the idea of using uwsgi and possibly Mongrel2. In my opinion, > uwsgi is much like pyjamas (sod the documentation, and read the code--at > least for C & C++ plugins). > > The only thing I can say about Mongrel2 at this time is my first config for > the test instance of my project works (unlike apache which took a few > days). Oh, I also like the fact that you can hang one app at '/' and later > add more routes with '/blah' (and no need to change the original setup) -- > try doing that with apache. uWSGI is pretty incredibly ... compiles in < 10 seconds on my laptop, and does all kinds of exotic things to python C-API, and i'm pretty sure can use every single feature the linux kernel has to offer (namespaces/cgroups/etc) -- it's has been a great resource as i continue to learn C. btw, uWSGI can also handle the use case you described, and in about 15 uniquely different ways depending on taste and needs. ... uWSGI could even embed python and your entire pyjamas application *inside it's own binary*, allowing you to distribute a single file. i don't have nearly as much experience with Mongrel2, but the day i read about it i was instantly sold, plus i've seen quite a bit of Zed's work (eg, lamson) and am working thru his "learn C the hard way" right now. the N:N abilities of Mongrel2 is amazing, even if i can't think of a sweet way to use it yet :-), and being able to transparently interface with any language 0mq supports is a powerful feature. -- C Anthony

