You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@thrift.apache.org by ZHOU Xiaobo <xb...@qq.com> on 2010/12/29 07:10:25 UTC

Can Thrift server handle http request

Hi:
    Can Thrift server handle http request? 
    For example, I use nginx to proxy the http request, but I don't want employ 
another server(such as mongrel/apache+cgi etc.) to handle the http request.

thanks.

Re: Can Thrift server handle http request

Posted by Bryan Duxbury <br...@rapleaf.com>.
Thrift supports HTTP transport in a number of our languages, but you would
have to host server-side code in *some* HTTP server.

Alternately, if you just want to load balance over traditional socket-based
Thrift servers, then you can use Pen (http://siag.nu/pen/) to do so
directly.

On Tue, Dec 28, 2010 at 10:10 PM, ZHOU Xiaobo <xb...@qq.com> wrote:

> Hi:
>    Can Thrift server handle http request?
>    For example, I use nginx to proxy the http request, but I don't want
> employ
> another server(such as mongrel/apache+cgi etc.) to handle the http request.
>
> thanks.
>