[Owasp-proxy] speed difference with two proxies
ricardojdfilipe at gmail.com
Sun Jun 13 06:31:06 EDT 2010
2010/6/13 Rogan Dawes <rogan at dawes.za.net>:
> On 2010/06/13 12:21 AM, Ricardo Filipe wrote:
>> ok, i retested because i wasn't sure if i had tested on both sides...
>> i had tested with only the reverse proxy on for sure.
>> now i tested again and the slowdown comes from using the proxy in the
>> client machine. if i leave it on and disconnect the reverse proxy i
>> still get the slow speed like i have with both proxies on.
>> still, it goes from 1 second to 4 seconds to transfer a webpage which
>> kind of sucks :P
>> i guess that is normal then. sorry for the fuss.
> No, it shouldn't be normal.
> Is your client proxy doing any processing over and above what the default
> proxy comes with?
> Perhaps you are buffering when you should not be, etc.
> Can you try with a plain proxy that does no processing, simply relaying the
> requests and responses without buffering?
ok. i was buffering both request and response in both proxies, because
in my project i need to change them.
but i did as you said, tried with an empty interceptor on both sides
that just streams the request/response and i still get the slow
speeds. what i noticed was the server interceptor sped up x2 when
streaming compared to buffering, but the client interceptor still
gives the same times (which are humanly noticeable).
so this is indeed not normal... ideas?
More information about the Owasp-proxy-project