?
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
Medium Priority
?
241 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 2000 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

If you’re thinking to yourself “That description sounds a lot like two people doing the work that one could accomplish,” you’re not alone.
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
Six Sigma Control Plans

762 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