Hi Derek,
Yes, a bulk look-up is in the protocol (see Prepare() in XrdClientAdmin.hh).
Geri, Fabrizio, and I are also planning on providing a combined prepare/open
interface. So, for instance, you can say open(const char path[], XrdClient
*files[]) which would open all you files in parallel. We are also planning
on providing a method pair that would allow you to queue many opens and then
come back and get one file at a time (whichever file was ready at the time).
Andy
----- Original Message -----
From: "Derek Feichtinger" <[log in to unmask]>
To: "Andrew Hanushevsky" <[log in to unmask]>
Cc: "xrootd mailing list" <[log in to unmask]>
Sent: Tuesday, April 26, 2005 1:50 AM
Subject: bulk lookup on olbd possible?
> Hi, Andy
>
> In the context of proof I had already thought of whether one could use the
> olbd to just ask about file locations without really accessing the files.
> The
> information would then be used to direct jobs to nodes which already have
> the
> required file. (I.e. in this picture, every worker node runs an
> xrootd/olbd).
>
> Is it possible to do a bulk lookup of many files on the olbd? If this can
> be
> done in bulk mode, then I guess you would still need only the basic
> waiting
> time (~5 s default delay) until you know where the files are.
>
> This kind of information could be interesting for all kinds of job
> scheduling/queuing systems.
>
> (PS: Andreas is on a meeting and I still have no feedback on the issue
> concerning the "opaque information" problem and our athorization
> extension).
>
> Cheers,
> Derek
>
> --
> Dr. Derek Feichtinger Tel: +41 22 767 10 07
> LCG/ARDA Group email: [log in to unmask]
> CERN
> http://people.web.psi.ch/feichtinger
> CH-1211 Genève 23
>
>
>
|