MobWrite plugin for nginx

4 views
Skip to first unread message

Brian Pane

unread,
Nov 16, 2009, 11:47:00 AM11/16/09
to MobWrite
I recently helped a friend add MobWrite support to a project that was
already using nginx as the web server. To avoid the operational
complexity of adding support for PHP, Python, or JSP (all of which can
be supported with nginx, but all of which really need to be handled in
a separate process pool because their blocking nature doesn't play
nicely with nginx's single-threaded event multiplexer loop), I wrote a
little nginx plugin in C that does the mapping between HTTP clients
and the MobWrite daemon's protocol.

Just in case it might be useful to others, I've released the code for
the plugin under the Apache license. http://github.com/brianpane/nginx-mobwrite

-Brian
Reply all
Reply to author
Forward
0 new messages