Re: [mongrel2] WSGI Mongrel2 Handler Status
- From:
- Dalton Barreto
- Date:
- 2012-01-02 @ 20:43
2012/1/2 Roberto De Ioris <roberto@unbit.it>:
> AFAIK there are two actively maintained project:
>
> http://wsgid.com/
> http://projects.unbit.it/uwsgi/wiki/Mongrel2
>
> Even if i am the maintainer of the uWSGI project, i like wsgid approach a
> lot, and i suggest you to start with that one.
Hello,
I maintain wsgid and have been using it to host my own websites (my
personal and wsgid.com) for a while now.
Wsgid is reaching 0.5.0 very soon and I just added support for
mongrel2's async upload mechanism. With this release wsgid will
start to find its way into a production-ready tool.
Jeffrey, it would be awesome if you could try wsgid, and if you have
any problems it will be a pleasure to help.
Roberto, thank you for pointing wsgid!
Thanks to all and Happy new Year!
--
Dalton Barreto
http://daltonmatos.com
Re: [mongrel2] WSGI Mongrel2 Handler Status
- From:
- Jeffrey Van Voorst
- Date:
- 2012-01-02 @ 19:34
Thanks for your helpful replies. By the way, I have looked at uwsgi.
I am more looking towards the future where I replace apache2 with
something that routes messages to a controller application which then
calls different backends which are primarily written in C++ and Python
at this time. I was asking about a wsgi handler so that I could play
with hosting existing python frameworks via mongrel2 (I will check out
the recommendations and see how they work). Maybe it is obvious to
others, but I didn't see an easy way to hook up C or C++ handlers to
uwsgi.
--Jeff
Re: [mongrel2] WSGI Mongrel2 Handler Status
- From:
- Javier Guerra Giraldez
- Date:
- 2012-01-02 @ 19:41
On Mon, Jan 2, 2012 at 2:34 PM, Jeffrey Van Voorst
<jeff.vanvoorst@gmail.com> wrote:
> I didn't see an easy way to hook up C or C++ handlers to
> uwsgi.
maybe not, but uWSGI can also talk 0MQ as a mongrel handler while
running Python WSGI apps.
--
Javier
Re: [mongrel2] WSGI Mongrel2 Handler Status
- From:
- Roberto De Ioris
- Date:
- 2012-01-02 @ 19:41
> Thanks for your helpful replies. By the way, I have looked at uwsgi.
> I am more looking towards the future where I replace apache2 with
> something that routes messages to a controller application which then
> calls different backends which are primarily written in C++ and Python
> at this time. I was asking about a wsgi handler so that I could play
> with hosting existing python frameworks via mongrel2 (I will check out
> the recommendations and see how they work). Maybe it is obvious to
> others, but I didn't see an easy way to hook up C or C++ handlers to
> uwsgi.
>
uWSGI is a c app and all of the supported languages are hooked in with
(obviously) C.
Check this one:
http://projects.unbit.it/uwsgi/browser/plugins/example/example_plugin.c
or one of the other plugins:
http://projects.unbit.it/uwsgi/browser/plugins/
There is an example on hooking C++ too
http://projects.unbit.it/uwsgi/browser/plugins/cplusplus/base.cc
--
Roberto De Ioris
http://unbit.it