can you provide us with a list of the POE-related modules you are using?
have you tried, (on a test environment) upgrading any components to look for a difference in speed? Do you have Time::HiRes installed? Can you paste some of the more relevant code to the list? (In your case this seems like it would be the point when sessions and wheels are created and scheduled for polling, the message flow and related yield, delay etc calls. ) In my personal opinion I have found that my performance has had the best responses to minimizing the number of events needed for X to happen and minimizing logging upon events (i was surprised at how much better my performance was when i turned off debug,info and warn output in Log::Log4Perl [if you use it]) On 10/31/06, Fei Liu <[EMAIL PROTECTED]> wrote:
Hello, I am new to the POE architecture and intricacies. I am maintaining a code developped by such an architecture, Client<->SOAP<->Server (scheduled by POE). Request is delivered from client to server through SOAP and POE queues the requests and handles them. The problem is we are getting extremely poor performance from this message flow. I've tested each individual component but POE (the code is almost unreadable partially due to my unfamiliarity with POE). Each component is responding to request blazingly fast (on the order of millisecond). However, the POE kernel is queueing up all the requests before they are sent to the actualy request handler and the request handler are not efficiently used. For some reason, the response from the request handlers are not picked up by the POE kernel after 60ms. I've timed almost everything, including the POE state machines. I still see relatively fast processing (on the order of 10ms) speed from POE. Thus my problem requires a good understanding of the inner working of POE. Someone said POE is designed to be responsive on the order of second. And I cann't expect better performance than that. Is this statement true? If you can provide some pointers on understanding POE or general POE performance tuning tips, I'd really appreciate them. Fei
