473,786 Members | 2,806 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Design/Architecture question : redundancy for small client/server network

Hello all;

This is going to be a bit long...sorry...

I am about to start out on a small scale client/server type system.
The server will collect data from various sources (custom hardware over
ethernet), and make that data available to the clients (either
webservices or remoting, not sure yet). Since the hardware is
networked, the clients could talk to it directly, but I don't want to
put the hardware through that load since reads/writes are half slow,
hence the server. The server will also serve web pages to the external
world for monitoring purposes. In addition to "pulling" data from the
server, the clients will also have to "push" information to configure
the hardware.

This is pretty standard stuff, that I've done a bunch of times. But
now I want to be able to add a level of redundancy/high availability.
I don't care if the web pages stop getting served, but I always want
the clients to have access to the hardware data (both setting the
config and reading back).

The obvious solution would be to have a "spare" server, the same way
you would have a server cluster in a web farm. But given the scale of
the system (~10 clients), that seems overkill. Ideally what I'd like
to be able to do is to "promote" one of the clients to the server role
(with the exception of the webpages) until the real server comes back
online.

Has anyone tackled this sort of concept before? Are there any
"patterns" for this type of behaviour? I'm sure that I'm not the first
who'd want to do something like this, and it seems do-able.

The first thing I thought of would be for the server to gather a list
of all clients, and give that list back to each client. If the main
server were to go offline, each client would start going down the list
searching for the backup server - if the next item is "me", then I
become the backup server, otherwise try to contact that item and use it
as the server (this would all happen behind some proxy class). The
problem that appears to exist is the delay between a client switching
to the server role. If "Client A" is in the midst of assuming the
server role, and "Client B" tries to access "Client A" as the
backup-server, it is possible that the switch is incomplete and "Client
A" won't respond, resulting in "Client B" continuing down the list.
Maybe this could be solved using a "retry" scheme, or cycling through
the list a few times...

Thanks for reading all that!!

Derrick

May 18 '06 #1
0 1563

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

43
4873
by: grz02 | last post by:
Hi, Im an experienced database+software designer and developer, but, unfortunately, anything to do with web-programming and web-systems designs is still a pretty new area to me... (been working mostly with "legacy" environments the last 10 years) So I am writing this, hoping to get some useful advise and feedback... I have done some pretty trivial, small websites with html/PHP,
4
1269
by: CJM | last post by:
I have a potential client who has a Access-based DB which they use for recording orders, customer details etc... They want to provide some of this information online, eg. customer account details and stock-levels etc, whilst retaining their existing functionality. They also want to retain the Access front-end but want to migrate the DB to SQL Server. AFAIK, they dont have local, dedicated web servers, but use a hosting package of some...
17
2719
by: tshad | last post by:
Many (if not most) have said that code-behind is best if working in teams - which does seem logical. How do you deal with the flow of the work? I have someone who is good at designing, but know nothing about ASP. He can build the design of the pages in HTML with tables, labels, textboxes etc. But then I would need to change them to ASP.net objects and write the code to make the page work (normally I do this as I go - can't do this...
7
3176
by: Samuel | last post by:
Hi, I am looking for some recommendations for client/server technologies and for the communication involved. I am currently planning to port a Perl application that has grown out of proportion to another language and architecture. For this purpose, I am investigating technologies that best fit the requirements. The current plan for the architecture of the ported software includes:
0
9497
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10110
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8992
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7515
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6748
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5534
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4067
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3670
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2894
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.