Multiple Application server

Multiple Application server

Old forum URL: forums.lhotka.net/forums/t/10602.aspx


amir.gheibi posted on Tuesday, August 09, 2011

I was wondering if, using CSLA, I could have a setup in which there is one ASP.NET web application and multiple application servers with possibility of load balancing between them.

JonnyBee replied on Tuesday, August 09, 2011

Yes, you can.

Just make sure to not keep any state on the webserver and users can hit any of them in a load balanced environment.

amir.gheibi replied on Tuesday, August 09, 2011

Thanks for the reply. I believe there is a misunderstanding.

What I need to setup is a single web server (one ASP.NET application running on it) with multiple (load-balanced) application servers.

RockfordLhotka replied on Tuesday, August 09, 2011

Jonny's answer still applies in most cases. A typical application server is accessed via WCF using http or tcp. Of course http uses tcp - so in almost every case the application server is accessed via tcp.

So put a TCP load balancing appliance between the web server and the application server cluster and it just works.

amir.gheibi replied on Wednesday, August 10, 2011

Thanks Rocky. Let me see if I understand correctly. I put a load-balancer in front of my app servers and configure my web application to connect to that which will redirect the requests to one of the available app servers.

RockfordLhotka replied on Wednesday, August 10, 2011

Right.

ntimothys replied on Wednesday, October 17, 2012

Hi

I came across this while searching for how to have one user interface that offer interaction with multiple business applications hosted on different servers.

i.e. say you have a help desk and an order management system (both build using CSLA) and hosted on different servers but want to have one user interface for both without combining the two (or more) application into one application server.

In the project tracker, the service is located by the configuration settings - which doesn't seem to give you an option to have an application interfaec of the above nature.

 

Is this possible?

RockfordLhotka replied on Wednesday, October 17, 2012

There's a lot of detail in the 'Using CSLA 4: Data Portal Configuration' book.

You can set the server URL via config file, or in code by setting Csla.ApplicationContext.DataPortalUrlString

ntimothys replied on Monday, October 22, 2012

Thanks, I will hv a look at the book

Copyright (c) Marimer LLC