Multiple Server Remoting - Please Help
Hi,
I have a school project due Monday, and I'm having a hard time with this.
The first part of the project is working fine. We have a Server (simulating bank server) that accepts multiple connections from clients.
Now we have to have 3 multiple servers that need to comunicate betewen them. How can I create channels to do this?
Thanks
Re: Multiple Server Remoting - Please Help
The design would depend on the goal. What functionality are you trying to create between the two servers.
What kind of server is it? tcp/ip? asp.net? does it need synchronous or asynchronous communcation? What kind of database are you using?
For example, a common design model would be you have a free site web site and a pay website all using the database. Since they a both web pages, you could just host them on the same web server and just cluster the web server. the server would not need to communcate with each other because the database they use would be the same.
However, the actually cluster, each node would have to communcate somehow in order to distribute the load across multiple servers, (load balancing).
Another model would be something like EDI, electronic data transfer. Let say you have a giantic app in company A, and you need to transfer data to another giantic app in company B. You use a standard system to communicate between the application and exchange the data over the wire.
Re: Multiple Server Remoting - Please Help
Its very simple comunication. At this time I have 1 server that registers a channel, and then the clients can connect and deposit money, check balance etc.
Know I have to add 2 more servers for redundancy. If one goes down the clients connecto to the other.
The servers have to connect to each other to replicate databases. The databases are plain text files.
This is a school project. Its something simple.
I have tried to create a 2nd channel for the servers to comunication, but it doesn't work.
Thanks