success story

58 views
Skip to first unread message

Jiří Sedláček

unread,
Aug 12, 2013, 5:21:00 AM8/12/13
to zer...@googlegroups.com
Hi,

we have successfully replaced Starman web server with ZeroGW. The main benefits are:

- websocket support
- speaks ZeroMQ - the rest of our stack speaks ZeroMQ so it was a natural fit
- ability to invalidate caches in http workers (by sending a message to all of them at once)

In the process I have made a Perl module that translates ZeroGW messages to psgi standard (http://en.wikipedia.org/wiki/PSGI) thus enabling any PSGI application to be served by ZeroGW. If anyone is interested let me know. I will open source it someday.

Jiri

Paul Colomiets

unread,
Aug 12, 2013, 4:46:29 PM8/12/13
to zer...@googlegroups.com
Hi Jiří,


On Mon, Aug 12, 2013 at 12:21 PM, Jiří Sedláček
<yirie.se...@gmail.com> wrote:
> Hi,
>
> we have successfully replaced Starman web server with ZeroGW. The main
> benefits are:
>
> - websocket support
> - speaks ZeroMQ - the rest of our stack speaks ZeroMQ so it was a natural
> fit
> - ability to invalidate caches in http workers (by sending a message to all
> of them at once)
>

Nice to hear! Thanks for reporting. Is there any public links for your project?

> In the process I have made a Perl module that translates ZeroGW messages to
> psgi standard (http://en.wikipedia.org/wiki/PSGI) thus enabling any PSGI
> application to be served by ZeroGW. If anyone is interested let me know. I
> will open source it someday.
>

Is PSGI something CGI-based? How translation works? Do you enumerate
all possible headers and other stuff in zerogw config? I'm thinking to
make CGI-like mapping built-in. It would help mapping to Rake and
WSGI. But trying to choose serialization format, and all that
ancient-looking strings are depressing for me :)

--
Paul

Jiří Sedláček

unread,
Aug 13, 2013, 10:29:37 AM8/13/13
to zer...@googlegroups.com
There are no public references. The company I work for is called Blue Health Intelligence (http://www.bluehealthintelligence.com/). 

PSGI is Perl equivalent of Ruby's WSGI. See http://plackperl.org/   It's a replacement of CGI.

The mapping from ZeroGW to PSGI is rather simple: https://gist.github.com/towhans/6221613

Jiri
Reply all
Reply to author
Forward
0 new messages