News  [SoftwareSite

Latest News
Older News
RSS Feed
 
Complete Projects
Useful Classes
Top Downloads
Message Board
AllAPI.net
 
Send Comments
Software License
Mentalis.org Buttons
Donate
 
Forums -> Miscellaneous Forum
 
Proxy stress testing

Reply

by Greg [et at polsl dot gliwice dot pl]
posted on 2003/12/27

Hello,

I am using a part of your proxy server code to build up a kind of forwarding HTTP proxy (all http connections are redirected to another www server and responses are passed back to caller). First of all I'm interested in efficiency so I tried to test the server with httperf tool. When I'm testing it with a rate that exceeds certain value (ie. 100 reqs/s on P4 machine), after a few seconds the proxy stops responding completely for a while, then begin functioning again and cycles between these states. Because you are using async sockets (mulithreading) I only can suspect the deadlock situation somewhere. Your code is only slightly modified by setting destination endpoint to a preset value so it's behaving like original. Can you help me to sove this situation and point out, what can be modified to overcome this problem? It would be a great help...
Thank you in advance
Greg

by Pieter Philippaerts [Pieter at mentalis dot org]
posted on 2004/01/12
Reply

I assume you're seeing the garbage collector at work. If it were a deadlock situation, the program would never continue.

 

Copyright © 2002-2007, The Mentalis.org Team. All rights reserved.
This site is located at http://www.mentalis.org/
Send comments to the webmaster.