[JaxPM] computing values vs. storing as hash

Bill Jones sneex at mac.com
Wed Jan 2 15:41:59 CST 2002


On the jacksonville-pm-list; Jax.PM'er Bill Jones <sneex at mac.com> wrote -

> What I'm dealing with is incoming UDP traffic, so no connection queues,
> just a receive buffer that drops packets when it gets full. I want to
> make this a lean mean packet-accepting machine.
>

Then why don't you off-load the processing to two scripts:

1) One that accept and logs the UDP connection (to make sure it's 
NOT full...)

2) One to process the strings.

I am NOT saying that one script couldn't handle it, but maybe it is 
trying to juggle two many conditions before losing data or dropping 
a connection before it is completed?

???/Sx :]


Jax.PM Moderator's Note:
This message was posted to the Jacksonville Perl Monger's Group listserv.
The group manager can be reached at -- owner-jacksonville-pm-list at pm.org
to whom send all praises, complaints, or comments...




More information about the Jacksonville-pm mailing list