Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^3: A question of fork efficiency

by Tanktalus (Canon)
on Aug 05, 2019 at 21:25 UTC ( #11103993=note: print w/replies, xml ) Need Help??


in reply to Re^2: A question of fork efficiency
in thread A question of fork efficiency

Generally speaking, I would print out the return values as I received them, but then, at the end, print out a nice pretty, ordered list. This allows for systems that respond quickly to show up quickly, and systems with lag responding to not delay the quick ones, at least during the running.

Where to get started - that is a matter of preference. I had someone here recommend AnyEvent and Coro to me ages ago, and that's what I'm using for the CB stats and last hour of cb updates (it's all in a single process and a single thread, making http calls to Perlmonks, both for downloading and uploading, and updating databases, and actually having a built-in chatterbox client as well). There's a pretty good chance that Coro won't be available in an RPM on RHEL/CentOS. However, Yes, even you can use CPAN might still be worth a read for your situation.

Replies are listed 'Best First'.
Re^4: A question of fork efficiency
by synless (Acolyte) on Aug 06, 2019 at 13:54 UTC

    Thanks! I'll check those out soon. If they don't have too many other dependencies I can probably get cpanspec to build them. Though so far it is choking on common::sense so we'll see on that one. :)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (1)
As of 2021-09-19 02:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?