Subject: | |
From: | |
Reply To: | |
Date: | Thu, 4 Oct 2001 08:06:59 -0700 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Why not just have the "watching" process delay (max expected transfer time * (1 + safety factor)) between detecting the file and accessing it -
-dtd
[log in to unmask] on 10/03/2001 03:23:00 PM
To: [log in to unmask]@Internet
cc: (bcc: David T Darnell/CO/KAIPERM)
Subject: Re: [HP3000-L] hp9000 -> hp3000 -> hp9000
> How small or how large is this risk? Divide the check interval by the
> average time it takes to send the file. If you check for the
> file every 300
> seconds, and it takes two seconds to send the file, then your
> risk is one in
> one hundred fifty. Stated differently, if you run this 150
> times, then you
> have essentially a 100% risk that your watching job will
> detect the file
> while it is still being sent, one time over the 150 runs.
I'm guessing you didn't do a lot of "Probs & Stats" stuff in college? ;-)
The actual probability is 63.335%
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|
|
|