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
237 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

911 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now