Tally List : mailing list management, archiving, and analysis
click for archive home
 
Archive of:
Fusebox
Cold Fusion Fuse Box List
 
home
24 hour view
quick stats
weekly updates
 
all tallylists
corporate solutions
archive your favorite
help / feedback


Search the Tallylist search by keyword:

About CF Fusebox Methods :
product's home
product's list home
 
  Archived TallyList / Fusebox: 
Subject: RE: Automatic File synchronization between clustered servers.
amittalwar@intellikaps.com (9p/+0r)     Posted: Wednesday 09 May 2001
This post: 37 views, +0 rating

Yep, Setting up a virtual.subdomain like images.yoursite.com is the best thing you can do . here is another alterntive though a resource hazard. write a template that recursively crawls your parent images directory ,it's subdirectories and notes the attributes of the files like name size etc in a structure. This template then crawls through the other server doing the same (you can have same template on the other server and crawl request generated by a simple cfhttp request that after the crawling gets back a wddx structure for the files on the other server.). You can now compare these two structures and mark the file/files that need to be synchronized(i.e deleted,or uploaded on whichever server) and then a template(customtag) could be used for this file upload and deletion. I'll recommend scheduling crawling templates so that it's as automatic as you want. But Beware this is going to slow down you server when the task runs as file operations are resource hogs. Do let me know if robocopy supports in web synchronization maybe activated by a com request (<cfobject>). Regards, Amit Talwar -----Original Message----- From: Kevin Bridges [mailto:KBridges@collectamerica.com] Sent: Wednesday, May 09, 2001 12:13 AM To: Fusebox Subject: RE: Automatic File synchronization between clustered servers.

In shared server environments like that typically I have seen people set up a dedicated image machine that is not running cf or anything to bog it down that does nothing but serve images to the other servers. It's a great way to increase performance of the sites serving/processing content as well. If you want to see a working example go to http://shopping.yahoo.com/ and look at where all the images are stored.

Then as need increases more image servers are added to back each other up.

-----Original Message----- From: billking@hostworks.com [mailto:billking@hostworks.com] Sent: Tuesday, May 08, 2001 11:46 AM To: Fusebox Subject: OT: Automatic File synchronization between clustered servers.

I have an issue with a client who has a shared server environment (2 SERVERS RUNNING WIN NT) and due to the set up of the site and affiliate sites the client requires image files on both server boxes.

The problem is that the images that are uploaded often don't copy to both places because of network contention etc...I am performing a cffile to the share from either direction.

I have been looking for something that will do an automatic file compare and copy to maintain uniformity between two directories. Has anyone run into this and found a solution??

Signed,

Bill King HostWorks INC http://www.hostworks.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/fusebox@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists


Similar Subject Line Posts (+/- two weeks of this post)
RE: Automatic File synchronization between clustered servers.  09 May 2001 (this post)   (37 v/ +0 r)
RE: Automatic File synchronization between clustered servers.  08 May 2001   (40 v/ +0 r)
RE: Automatic File synchronization between clustered servers.  08 May 2001   (36 v/ +0 r)
RE: Automatic File synchronization between clustered servers.  08 May 2001   (39 v/ +0 r)
RE: Automatic File synchronization between clustered servers.  08 May 2001   (29 v/ +0 r)
RE: Automatic File synchronization between clustered servers.  08 May 2001   (63 v/ +0 r)
RE: Automatic File synchronization between clustered servers.  08 May 2001   (39 v/ +0 r)
OT: Automatic File synchronization between clustered servers.  08 May 2001   (31 v/ +0 r)
 

Send a reply to the Fusebox list!
click to send a reply! NOTE: Many lists will reject your post unless you have already registered with them. Also - don't forget the right account to send from (for those with multiple emails!)

Feedback: If this post was exceptionally helpful, please help by giving this post a positive review.

 

TallyList : copyright Ububik - 2000