![]() |
|
more useful options | |
PerlMonks |
Re: Database pollerby mobiGeek (Beadle) |
on Jun 15, 2003 at 15:07 UTC ( [id://266040]=note: print w/replies, xml ) | Need Help?? |
The question is: where is the bottleneck?
There is no point trying to "throw" optimizations at the problem if you don't know where the problem is. Changing your forking model or your schema or your queries won't help if that isn't where the problem lies. So, my suggestion is to profile your code; find out where in your process large amounts of time are being taken. Then fix those areas or post back with the specifics looking for particular optimizations. It may seem like a lot of work (possibly not-fun work) trying to determine the bottlenecks. But it sure beats reworking a whack of code only to find that the particular problem is not solved.
In Section
Seekers of Perl Wisdom
|
|