Solved

C# amazingly hard or ? I got a multi client and 1 server implementation in C#. How can I convert my server multiservered/distributed server?

Posted on 2011-09-26
5
238 Views
Last Modified: 2012-05-12
Hi there;

I got a multi client and 1 server implementation in C#.
Server assess the requests from the client in async. manner.

How can I convert my server multiservered? Meaning, a distributed server?

Any sample codes for such purpose?

Kind regards.
0
Comment
Question by:jazzIIIlove
  • 3
5 Comments
 
LVL 17

Expert Comment

by:sonawanekiran
ID: 36598435
How about using WCF service
0
 
LVL 12

Author Comment

by:jazzIIIlove
ID: 36598453
Too late, I am using .NET Remoting, cannot change this...

Regards.
0
 
LVL 11

Accepted Solution

by:
Sudhakar Pulivarthi earned 500 total points
ID: 36599114
Hi jazzIIIlove,

You can try this approach:
Create a server which performs load balancing (just routing) which accepts request from clients and routes it to the servers which are managed by this load balancer.
SInce distribution itself need many synchronization/handshake mechanisms, u can achieved best out of it.
1. This routing server should create a server instance if required based on load.
2. Determine whether any server is free and pass the message to that particular server.
3. Keep track of previously sent request processing status for that server or create on if required.
4. On shutdown, close all the server instances.
0
 
LVL 12

Author Comment

by:jazzIIIlove
ID: 36599182
>>This routing server should create a server instance if required based on load.
What could be the parameter for the load?

>>This routing server should create a server instance
So, what you are talking about is that creating an intermediate program that mediates between server and client and spawn server instances in machines if necessary.

What I am doing currently is that passing objects from cliet(s) to a server, so according to your comment (if I understand true);

The router server should check for the load and "invokes the server program to create server objects" or "creates server objects by himself"?

I mean I couldn't design it in my head, how can I adapt my .NET remoting impl. for distributed case?

Regards.

Regards.
0
 
LVL 12

Author Comment

by:jazzIIIlove
ID: 36711169
So?
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

A short article about problems I had with the new location API and permissions in Marshmallow
This is about my first experience with programming Arduino.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

825 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question