in reply to multiple threads with different "timers"

How long does the actual fetch of data take?

If it's short compared to the wait times then it might be a better idea to use an event-based model rather than threads.

For example, you could use POE to fire off each timer as it comes due.

  • Comment on Re: multiple threads with different "timers"