Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Queuing Input for Serial Processing

by LameNerd (Hermit)
on Aug 25, 2003 at 17:33 UTC ( [id://286429]=note: print w/replies, xml ) Need Help??


in reply to Queuing Input for Serial Processing

I am curious to why you would want to process things in serial manner. I would think, in general, that processing things in parallel is better. Better meaning more effienct use of computing resources. You can always process the results in parallel yet still only allow access to the results FIFO. Or in other word you process things in parallel yet make it look like things where processed serially if you have to.
updated
BTW you might be able to get cron to work on your Windows XP system. I have used cygwin's port of cron successfully on my NT system.
  • Comment on Re: Queuing Input for Serial Processing

Replies are listed 'Best First'.
Re: Re: Queuing Input for Serial Processing
by Anonymous Monk on Aug 25, 2003 at 17:40 UTC

    Hiya,

    The primary reason is that three or four concurrent requests would be enough to get the computer thrashing virtual memory. The computations being run takes about 700 MB of RAM and about 60 seconds CPU time. The computer can handle maybe two at once. With more than that, they all slow down dramatically.

      Well if you where to develop your software in such a way that it processed requests in parallel but also limited the number of requests that could be processed at the same time, then the number of request that could be processed would be stored in a site specific configuration variable. On your current hardware you would set this parameter to 1 and if you where ever to get a better box you would only have to change this parameter instead of rewriting your code.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://286429]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (1)
As of 2024-04-24 16:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found