asp.net, remoting and frame

F

Felipe Garcia

I've built a system in myjob that does the following:
We have a page with frames one frame loads the default.aspx and the other
frame loads the events.aspx.

Inside events.aspx we have a loop that exists while IsClientConnected ==
true, inside this loop we have a try/catch block, that catches exceptions of
type ThreadInterruptedException and inside the Try block we have only a
Thread.Sleep(SOME_INTERVAL).

When the page events.aspx is started, it connects to the remoting server and
register the user. We als have a global variable that references the
ApplicationState variable, and when the page events.aspx connects to the
remoting server, it adds the client and a reference to the clients thread to
a ClientsCollection variable inside the Application class. This global
reference to the application state is visible to the remoting server also.
So every time the ManagementTool, calls a specific client Thread.Interrupt()
method, the try/catch block, catches a exception of
ThreadInterruptedException type, and inside the Catch block we write the
javascript command that the management tool wrote to the client.

The application is working, but the point is. Our system almost all time
will have around 300 users online, so we will have 300 loops running and
interacting with the remoting server. We will use Windows 2003 server, and
we will use 3 servers. The 1st server will run the IIS that will run the
site (i mean, the default.aspx and the other site pages) and in the 2nd
server we will run only the IIS running the events.aspx and the remoting
server and the 3rd will run the SQL Server.

My question is, is this solution viable to using into an enterprise solution
?

Thanks.

Felipe Garcia
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

ASP.NET application and remoting 1
Remoting 1
SessionState & Remoting 1
Asp.net and .Net Remoting 0
ASP.NET + Remoting 3
Remoting or Web Service? 2
Remoting crashes IIS 0
WindowsIdentity... ASP.NET and Remoting 0

Members online

Forum statistics

Threads
473,982
Messages
2,570,186
Members
46,739
Latest member
Clint8040

Latest Threads

Top