J
Julia
Hi,
My RemoteServer is a singleton remote object hosted by windows service and
accessed by ASP.NET application
using remoting,server activated
Basically my RemoteServer need to send several email message types,and it
have a single method
Send(string To,string Body,int type)
the implementation is as follows
RemoteServer:
void Send(string To,string Body,int type)
{
IMessageProcessor processor=CreareMessageProcessor(this,to,body,type)
processor.Execute();
}
all messages placed in a shared Queue and a thread is than popping the
messages and send them.
I wonder what should I do in order to adjust the server to be used by a web
site with 2-3 thousand users per day
as I understand the Send method will be run in a different thread for each
remote invocation.
How many threads available for remoting?
should I register the processor as a polled COM+ remote object so a request
will not be streamed throw the singleton
rather it will directly create the processor?
from ASP.NET instead of
SrvActObj = (RemoteServer)Activator.GetObject(.....
SrvActObj.Send(...
i will do
processorObject=new MessageProcessor(...)
processorObject.Execute(...)
My RemoteServer is a singleton remote object hosted by windows service and
accessed by ASP.NET application
using remoting,server activated
Basically my RemoteServer need to send several email message types,and it
have a single method
Send(string To,string Body,int type)
the implementation is as follows
RemoteServer:
void Send(string To,string Body,int type)
{
IMessageProcessor processor=CreareMessageProcessor(this,to,body,type)
processor.Execute();
}
all messages placed in a shared Queue and a thread is than popping the
messages and send them.
I wonder what should I do in order to adjust the server to be used by a web
site with 2-3 thousand users per day
as I understand the Send method will be run in a different thread for each
remote invocation.
How many threads available for remoting?
should I register the processor as a polled COM+ remote object so a request
will not be streamed throw the singleton
rather it will directly create the processor?
from ASP.NET instead of
SrvActObj = (RemoteServer)Activator.GetObject(.....
SrvActObj.Send(...
i will do
processorObject=new MessageProcessor(...)
processorObject.Execute(...)