RE: How to implement handshake in an upstream module?

2014-01-20 Thread Reetesh Ranjan
Hi, This is about using keepalive. As I worked on another nginx module, I saw more about 'keepalive'. I see how you have used 'keepalive=1' on 'length == 0' and similar stuff can be seen in memcached module as well. When I was doing the sphinx module I got away with working behavior with the def

Open Text Summarizer Upstream Module 1.0 Release

2014-01-17 Thread Reetesh Ranjan
Hi, I have developed a highly efficient version of OTS - the popular open source text summarizer s/w. For few documents, while OTS takes about 40ms to produce text summary, my version takes around 8ms only. I created a service using my version that listens to summary requests and provide summari

RE: How to implement handshake in an upstream module?

2013-12-05 Thread Reetesh Ranjan
Hi! > Date: Thu, 5 Dec 2013 13:23:55 -0800 > Subject: Re: How to implement handshake in an upstream module? > From: agen...@gmail.com > To: nginx-devel@nginx.org > > You're essentially doing pipelined requests here and you will run into > the following limitation in the nginx core: > > http:/

RE: Help on designing using multiple location/upstream modules

2013-12-05 Thread Reetesh Ranjan
Hi! > Date: Sat, 30 Nov 2013 14:37:04 -0800 > Subject: Re: Help on designing using multiple location/upstream modules > From: agen...@gmail.com > To: nginx-devel@nginx.org > > Hello! > > On Sat, Nov 30, 2013 at 11:05 AM, Reetesh Ranjan wrote: > > Thanks for the he

Sphinx2 Search Platform Upstream Module Pre-Release

2013-12-05 Thread Reetesh Ranjan
Hello! I have developed an upstream module for Sphinx2 search platform. It's available at: https://github.com/reeteshranjan/sphinx2-nginx-module It talks to Sphinx2 searchd component for performing search. It's in infant stage right now and more work is needed to get to production ready. I am wo

RE: How to implement handshake in an upstream module?

2013-12-04 Thread Reetesh Ranjan
gt; Hello! > > On Thu, Dec 05, 2013 at 02:39:28AM +0530, Reetesh Ranjan wrote: > > > Before I send my main request and process the response through > > create_request and process_header (and filter) callbacks, I need > > to have a short handshake with the upstream

RE: How to implement handshake in an upstream module?

2013-12-04 Thread Reetesh Ranjan
hu, 5 Dec 2013 02:38:35 +0400 > From: mdou...@mdounin.ru > To: nginx-devel@nginx.org > Subject: Re: How to implement handshake in an upstream module? > > Hello! > > On Thu, Dec 05, 2013 at 02:39:28AM +0530, Reetesh Ranjan wrote: > > > Before I send my main request and

How to implement handshake in an upstream module?

2013-12-04 Thread Reetesh Ranjan
Before I send my main request and process the response through create_request and process_header (and filter) callbacks, I need to have a short handshake with the upstream servers. It consists of a send() and a recv() from the upstream module. How to implement this? Would the following sequence

RE: Help on designing using multiple location/upstream modules

2013-11-30 Thread Reetesh Ranjan
achieving what I need to do. Regards,Reetesh > Date: Wed, 27 Nov 2013 12:39:15 -0800 > Subject: Re: Help on designing using multiple location/upstream modules > From: agen...@gmail.com > To: nginx-devel@nginx.org > > Hello! > > On Tue, Nov 26, 2013 at 4:30 AM, Reetesh

RE: Help on designing using multiple location/upstream modules

2013-11-26 Thread Reetesh Ranjan
I saw several pages on web about ngx_http_subrequest; filters vs location modules using it; parallel vs sequential usage; code/modules using it etc. Would first try out a solution for my use case using this method, and come back in case I am stuck and of course after reading previous threads. R

Help on designing using multiple location/upstream modules

2013-11-26 Thread Reetesh Ranjan
Hi, I am a newbie to nginx. I have done some initial research on nginx architecture, location modules, upstream modules, third party modules available for various purposes etc. After going through a number of pages I have a question which I can't seem to find an easy answer to. I have a very sim