It is currently Thu May 23, 2013 10:05 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Multiple servers, multiple clients, one file inventory
PostPosted: Wed Apr 11, 2012 1:46 pm 
Offline
Enthusiast
Enthusiast

Joined: Sat Apr 26, 2003 7:24 pm
Posts: 458
Location: Germany
I am working on a software, which will, once done, do the following:

Replicate and maintain sync of one single file inventory (a filesystem with directories, subdirectories and large contents) across multiple servers. Furthermore, it will allow access to these files to clients, and whenever one client accesses a file from any one server, this file will be locked for further access across all servers, so as to prevent several users accessing the same file at the same time. The clients can also create new files and store them on one server, it will then replicate across all servers. The whole point is to allow users in different geographical locations access to the same inventory of files, while not having to wait for a slow VPN link but instead experiencing full performance of a server on the same LAN.

The files are kept in sync across all servers using Robocopy - each server will create an instance of Robocopy for every other server, in order to create a bidirectional sync system. This will mean that, for two servers, there will be two Robocopy channels running, for three servers six channels, for four servers twelve channels and so forth... (k=n!/(n-2)!)

The clients themselves will never have direct access to the files on the server. Instead, they will see some sort of links, replicated on their local machine, through which they can request to access a file, and then be either told that the file is already being accessed by someone else, or have that file downloaded on their system and do what they want with it. When done, they can upload the file back onto the server and from there, the updated version will be synced onto all other servers, and once that has happened, the file will be released for further access by anyone else.

The software is nowhere near ready yet. I am doing extensive testing and planning right now. Perhaps someone else has done something similar before and can give me a few hints, or maybe think of technical issues I might encounter I haven't thought of yet. Please feel free to ask or make comments, everything (constructive) is appreciated!

_________________
The truth is never confined to a single number - especially scientific truth!


Top
 Profile  
 
 Post subject: Re: Multiple servers, multiple clients, one file inventory
PostPosted: Wed Apr 11, 2012 3:12 pm 
Offline
Enthusiast
Enthusiast

Joined: Fri Jul 14, 2006 8:53 pm
Posts: 589
Location: Malta
Not sure why you need to use a program, windows since NT 4.0 has a very good replication service which with 2008 has become very easy to use

You can use DFS + replication and let windows do the rest, and windows will actually choose the "closest" server to the user. An added advantage is that replication will only sync the changed parts of the files whereas robocopy will copy the whole file which is not practical for large files.

_________________
Brazil, wait for me, here I come...

http://www.en3.biz


Top
 Profile  
 
 Post subject: Re: Multiple servers, multiple clients, one file inventory
PostPosted: Wed Apr 11, 2012 3:41 pm 
Offline
Enthusiast
Enthusiast

Joined: Sat Apr 26, 2003 7:24 pm
Posts: 458
Location: Germany
Well, these features apparently only come with the larger business versions of Windows servers and therefore cost too much. The solution we're working on will be more competitively priced. So, if you will, it'll be a poor mans version of a syncing server as the software will run on any computer running at least WinXP.

As for delta encoding: I simply don't know how to do that. I did once try to write my own routine for file syncing which would give me greater control but this failed dismally once the amount of data grew beyond a few GBytes. So I am now handing this task over to a tool proven for nearly ten years now.

_________________
The truth is never confined to a single number - especially scientific truth!


Last edited by merendo on Thu Apr 12, 2012 8:48 am, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Multiple servers, multiple clients, one file inventory
PostPosted: Thu Apr 12, 2012 7:38 am 
Offline
PureBasic Expert
PureBasic Expert
User avatar

Joined: Sat May 17, 2003 11:31 am
Posts: 5808
Should I think of a localized version of Dropbox?

For personal / commercial use, open source, or even to make a little cash?

_________________
( PB5.11 Win7 x64 Dell XPS710 Raid 0 VelociRaptor Intel Q6600 nForce 5 NVidia GTS450 )
( You have two options: psychotherapy, or the PureBasic Survival Guide... )


Top
 Profile  
 
 Post subject: Re: Multiple servers, multiple clients, one file inventory
PostPosted: Thu Apr 12, 2012 8:05 am 
Offline
Enthusiast
Enthusiast

Joined: Sat Apr 26, 2003 7:24 pm
Posts: 458
Location: Germany
It's what I do at work. It's for a customer, but to be sold later on. The thing is, I will be leaving my current company by the end of the month so I'm somewhat pressed for time.

A localised version of dropbox with your own servers, providing full network performance and storing large amounts of data. Also shows when a file is already in use by someone else...

_________________
The truth is never confined to a single number - especially scientific truth!


Top
 Profile  
 
 Post subject: Re: Multiple servers, multiple clients, one file inventory
PostPosted: Thu Apr 12, 2012 10:54 am 
Offline
Moderator
Moderator
User avatar

Joined: Sat Apr 26, 2003 1:11 am
Posts: 1300
sorry , but not a real anouncement(except the idea). moved to offtopic for now.

_________________
SPAMINATOR NR.1


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye