From: Shyket, H. <har...@ya...> - 2012-07-25 14:51:11
|
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 |