List Info

Thread: Force to Push data from a reverse proxy




Force to Push data from a reverse proxy
country flaguser name
Switzerland
2007-07-24 11:08:09
Hello,

I have a trouble using a reverse proxy:

Server A (HTTP) <---> Reverse-Proxy (apache-2.0)
<---> Client

The client is a java application that displays real time
financial data that
uses HTTP as transport.

Without the reverse proxy in the middle, everything is
working fine.

Using the reverse proxy, we loose the real time aspect of
the application
because data come once in a while (every ten seconds or so)
by "big chunks".

Using a tcpdump of the session, here is what we have:

>From Server A to Reverse-Proxy Server: a lot of small
size packets (about 95
bytes) of HTTP payload, a TCP push is used for each frame.

>From the reverse proxy server to the Java client: we can
see packets but
more seldom, HTTP payload of 1380 bytes.

Reverse proxy Apache seems to always want to
"bufferize" at least the number
of bytes equivalent to a frame.

Does any one know an option to disable this functioning and
to push data to
the client every time the Server A pushes? 

Thanks

Best regards,
 
J-B

Re: Force to Push data from a reverse proxy
user name
2007-07-24 11:13:41
On 7/24/07, Jean-Baptiste Mayer <jbdfi.ch> wrote:
> Hello,
>
> I have a trouble using a reverse proxy:
>
> Server A (HTTP) <---> Reverse-Proxy (apache-2.0)
<---> Client
>
> The client is a java application that displays real
time financial data that
> uses HTTP as transport.
>
> Without the reverse proxy in the middle, everything is
working fine.
>
> Using the reverse proxy, we loose the real time aspect
of the application
> because data come once in a while (every ten seconds or
so) by "big chunks".
>
> Using a tcpdump of the session, here is what we have:
>
> From Server A to Reverse-Proxy Server: a lot of small
size packets (about 95
> bytes) of HTTP payload, a TCP push is used for each
frame.
>
> From the reverse proxy server to the Java client: we
can see packets but
> more seldom, HTTP payload of 1380 bytes.
>
> Reverse proxy Apache seems to always want to
"bufferize" at least the number
> of bytes equivalent to a frame.
>
> Does any one know an option to disable this functioning
and to push data to
> the client every time the Server A pushes?

Have you looked at the ProxyIOBufferSize directive?

Joshua.

------------------------------------------------------------
---------
The official User-To-User support forum of the Apache HTTP
Server Project.
See <URL:http://htt
pd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribehttpd.apache.org
   "   from the digest: users-digest-unsubscribehttpd.apache.org
For additional commands, e-mail: users-helphttpd.apache.org


RE: Force to Push data from a reverse proxy
country flaguser name
Switzerland
2007-07-25 01:13:35
Hello,

Yes I put "ProxyIOBufferSize 1" to have the
minimum buffer size and it
unfortunately did not change anything. 

Best Regards,
 
Jean-Baptiste

-----Message d'origine-----
De : jslivegmail.com [mailto:jslivegmail.com] De la part de
Joshua Slive
Envoyé : mardi, 24. juillet 2007 18:14
À : usershttpd.apache.org
Objet : Re: [usershttpd] Force to Push data from a reverse
proxy


On 7/24/07, Jean-Baptiste Mayer <jbdfi.ch> wrote:
> Hello,
>
> I have a trouble using a reverse proxy:
>
> Server A (HTTP) <---> Reverse-Proxy (apache-2.0)
<---> Client
>
> The client is a java application that displays real
time financial data
that
> uses HTTP as transport.
>
> Without the reverse proxy in the middle, everything is
working fine.
>
> Using the reverse proxy, we loose the real time aspect
of the application
> because data come once in a while (every ten seconds or
so) by "big
chunks".
>
> Using a tcpdump of the session, here is what we have:
>
> From Server A to Reverse-Proxy Server: a lot of small
size packets (about
95
> bytes) of HTTP payload, a TCP push is used for each
frame.
>
> From the reverse proxy server to the Java client: we
can see packets but
> more seldom, HTTP payload of 1380 bytes.
>
> Reverse proxy Apache seems to always want to
"bufferize" at least the
number
> of bytes equivalent to a frame.
>
> Does any one know an option to disable this functioning
and to push data
to
> the client every time the Server A pushes?

Have you looked at the ProxyIOBufferSize directive?

Joshua.

------------------------------------------------------------
---------
The official User-To-User support forum of the Apache HTTP
Server Project.
See <URL:http://htt
pd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribehttpd.apache.org
   "   from the digest: users-digest-unsubscribehttpd.apache.org
For additional commands, e-mail: users-helphttpd.apache.org



------------------------------------------------------------
---------
The official User-To-User support forum of the Apache HTTP
Server Project.
See <URL:http://htt
pd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribehttpd.apache.org
   "   from the digest: users-digest-unsubscribehttpd.apache.org
For additional commands, e-mail: users-helphttpd.apache.org


RE: Force to Push data from a reverse proxy
country flaguser name
Switzerland
2007-07-25 11:11:09
I solved my problem by installing and configuring squid
which does not seem
to bufferize data.

Jean-Baptiste.

-----Message d'origine-----
De : Jean-Baptiste Mayer [mailto:jbdfi.ch] 
Envoyé : mercredi, 25. juillet 2007 08:14
À : usershttpd.apache.org
Objet : RE: [usershttpd] Force to Push data from a reverse
proxy


Hello,

Yes I put "ProxyIOBufferSize 1" to have the
minimum buffer size and it
unfortunately did not change anything. 

Best Regards,
 
Jean-Baptiste

-----Message d'origine-----
De : jslivegmail.com [mailto:jslivegmail.com] De la part de
Joshua Slive
Envoyé : mardi, 24. juillet 2007 18:14
À : usershttpd.apache.org
Objet : Re: [usershttpd] Force to Push data from a reverse
proxy


On 7/24/07, Jean-Baptiste Mayer <jbdfi.ch> wrote:
> Hello,
>
> I have a trouble using a reverse proxy:
>
> Server A (HTTP) <---> Reverse-Proxy (apache-2.0)
<---> Client
>
> The client is a java application that displays real
time financial data
that
> uses HTTP as transport.
>
> Without the reverse proxy in the middle, everything is
working fine.
>
> Using the reverse proxy, we loose the real time aspect
of the application
> because data come once in a while (every ten seconds or
so) by "big
chunks".
>
> Using a tcpdump of the session, here is what we have:
>
> From Server A to Reverse-Proxy Server: a lot of small
size packets (about
95
> bytes) of HTTP payload, a TCP push is used for each
frame.
>
> From the reverse proxy server to the Java client: we
can see packets but
> more seldom, HTTP payload of 1380 bytes.
>
> Reverse proxy Apache seems to always want to
"bufferize" at least the
number
> of bytes equivalent to a frame.
>
> Does any one know an option to disable this functioning
and to push data
to
> the client every time the Server A pushes?

Have you looked at the ProxyIOBufferSize directive?

Joshua.

------------------------------------------------------------
---------
The official User-To-User support forum of the Apache HTTP
Server Project.
See <URL:http://htt
pd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribehttpd.apache.org
   "   from the digest: users-digest-unsubscribehttpd.apache.org
For additional commands, e-mail: users-helphttpd.apache.org



------------------------------------------------------------
---------
The official User-To-User support forum of the Apache HTTP
Server Project.
See <URL:http://htt
pd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribehttpd.apache.org
   "   from the digest: users-digest-unsubscribehttpd.apache.org
For additional commands, e-mail: users-helphttpd.apache.org

Re: Force to Push data from a reverse proxy
country flaguser name
Slovakia
2007-08-30 10:15:32
> On 7/24/07, Jean-Baptiste Mayer <jbdfi.ch> wrote: I have a trouble using
> > a reverse proxy:
> >
> > Server A (HTTP) <---> Reverse-Proxy
(apache-2.0) <---> Client
> >
> > The client is a java application that displays
real time financial data
> > that uses HTTP as transport.
> >
> > Without the reverse proxy in the middle,
everything is working fine.
> >
> > Using the reverse proxy, we loose the real time
aspect of the
> > application because data come once in a while
(every ten seconds or so)
> > by "big chunks".

Chunked transfer encoding probably?

On 25.07.07 18:11, Jean-Baptiste Mayer wrote:
> I solved my problem by installing and configuring squid
which does not seem
> to bufferize data.

Yes, because squid doesn't support transfer encoding yet.
Maybe disabling of chunking by forcing http/1.0 protocol
between proxy and
client would solve the problem between apache proxy and
client too.

-- 
Matus UHLAR - fantomas, uhlarfantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this
address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek
reklamnu postu.
"To Boot or not to Boot, that's the question."
[WD1270 Caviar]

------------------------------------------------------------
---------
The official User-To-User support forum of the Apache HTTP
Server Project.
See <URL:http://htt
pd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribehttpd.apache.org
   "   from the digest: users-digest-unsubscribehttpd.apache.org
For additional commands, e-mail: users-helphttpd.apache.org


[1-5]

about | contact  Other archives ( Real Estate discussion Medical topics )