Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Re: Database queueing and signals

by Marcello (Hermit)
on Apr 07, 2004 at 19:48 UTC ( #343410=note: print w/replies, xml ) Need Help??


in reply to Re: Database queueing and signals
in thread Database queueing and signals

Thanks for your input.

Child processes indeed sleep for 200 milliseconds after querying the database, to prevent a high CPU/database load:
select(undef, undef, undef, 0.2);

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (7)
As of 2020-05-30 16:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If programming languages were movie genres, Perl would be:















    Results (173 votes). Check out past polls.

    Notices?