From: Mattison W. <mat...@ne...> - 2012-07-25 15:00:37
|
If the file isn't inserted into the database, it would only be accessible from the instance it is copied to. When the "delivered file unpacked and parked" is it inserted into the database? On Wed, Jul 25, 2012 at 10:50 AM, Shyket, Harry <har...@ya...> wrote: > The Dryad issue comes down to whether the files are all synced across the > multiple instances of Tomcat. > > > > Mattison, > > > > What happens when a file is created on one TreeBASE instance, but then there > is an attempt to access it from another? > > > > Thanks, > > > > Harry Shyket > > Digital Media Specialist > > Yale University Peabody Museum > > ph. 203-436-9428 > > har...@ya... > > > > From: William Piel [mailto:wil...@ya...] > Sent: Wednesday, July 25, 2012 10:44 AM > To: Mattison Ward > Cc: TreeBASE devel > Subject: Re: [Treebase-devel] load balancing treebase? > > > > > > On Jul 25, 2012, at 9:36 AM, Mattison Ward wrote: > > > > The web server would load balance by session such that a session would > always be handled by the same tomcat instance (unless the instance > failed). > > > > Much of it should work okay -- e.g. seeing as uploaded files are stored as > blobs in the database, so should be accessible by all tomcat instances. > > > > Harry can correct me if I'm wrong -- but I think that one place where this > might not work is in the handshaking between Dryad and TreeBASE: files get > pushed at one time point while the user is logged into Dryad, an email with > a link to TreeBASE is issued, then at a later point the user follows the > email link and the delivered file is unpacked and parked into the user's > TreeBASE account. So there might be a problem with files pushed from Dryad > winding up in the directory of a different instance from what the user later > uses to try to retrieve it. > > > > bp > > > > -- Mattison Ward NESCent at Duke University 2024 W. Main Street, Suite A200 Durham, NC 27705-4667 919-668-4585 (desk) 919-668-4551 (alternate) 919-668-9198 (fax) |