Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

We are looking for any idea how to build system that is described here.

We have computers placed in the different locations of country. This computers are some kind of servers, one for province in our country.

Our devices are connected to those servers. For instance We have 100 devices in one province and those devices are connected to one server (described above) in this province. This is for one province. In other provinces there is another set of devices that are sending data to their local province server. Our devices are sending signals and messages to those servers. Now what we want to this:

We need some kind of software that will be replicate data from one server in province to the rest servers in country so every server have the same data about the signals. We need do this in real time. What for? When one of province server will fail we are loosing the data from devices so when this happened we need to provide in our devices the way to switch connection to the different server in different province automatically. When server will be ok we need to synchronize it with the rest of the servers.

Our client application that is connected to server have the same algorithm to switching connections when local server from province fails. We need to provide our clients the data about signals in real time so we need such solution to this.

There must be no one point of failure. Can somebody tell us how to achieve this. What software, frameworks we should use. Maybe distributed file systems but over diffrent subnets? How to spread the data over all servers in real time. Maybe some distributed database? What technology should be used to this?

-- Thanks Martin

share|improve this question

closed as too broad by masegaloeh, womble, MadHatter, HBruijn, Jenny D Sep 2 at 14:18

There are either too many possible answers, or good answers would be too long for this format. Please add details to narrow the answer set or to isolate an issue that can be answered in a few paragraphs.If this question can be reworded to fit the rules in the help center, please edit the question.

Do you have an existing architecture to be considered, or is this a purely theoretical question? – LukeR Feb 18 '11 at 10:34
The question is way to broad - be more specific. – pfo Feb 18 '11 at 16:49
Let's be more specific. This is theoretical question about the system that we want to develop. We are looking for the opensource solution in the first place. We have rich experience in Java, PHP and MYSQL but no experience in distributed systems with failover functionality. – Marcin Feb 21 '11 at 7:27

3 Answers 3

Could you have the devices send signals and messages to all servers instead of just the local one?

share|improve this answer
This devices uses GPRS to sending data. Sending data to all 22 servers is about 22x times more expensive than to one server. That why we don't even considering this scenario, but thanks. You didn't know about it so I explain why We can't do it that way. – Marcin Feb 21 '11 at 7:31

You may be interested by a peer-to-peer filesystem like Tahoe.

I don't think any of this filesystems will waranty real-time transfert but all should match your full redundancy requirement.

share|improve this answer

I think the technology that you looking for is along the lines of Microsoft's DFS-R it provides distrubuted folders/shares over WAN or any TCP/IP link. The beauty of DFS-R is that it replicates at bit level, so only what is changed is replicated. This obviously is nice for reducing bandwidth on your links. Obviously this is no good if you are not using a Microsoft Network. So if you could advise me what your network is constructed with that would help us give you a solid answer.

share|improve this answer
It appears someone downvoted my answer. Please at least leave a comment to say why. – JamesK Feb 21 '11 at 9:22

Not the answer you're looking for? Browse other questions tagged or ask your own question.