Re: Cross domain performance
- From: "Bob Bins" <deveng@xxxxxxxxx>
- Date: Thu, 4 Oct 2007 10:09:00 -0400
I will assume there is no solution and I have to load the plugins in the
main appdomain in order to perform at a respectable level.
I can't belive what little activity this group gets. Most of the issues I
have with .net are related to performance. I guess most people don't car
anymore. :(
"Bob Bins" <deveng@xxxxxxxxx> wrote in message
news:uewKwCEBIHA.4496@xxxxxxxxxxxxxxxxxxxxxxx
I am using AppDomain.CreateInstanceFromAndUnwrap to create a instance of an
object in the second AppDomain. Then I call a method on that loads all the
plugin instances. It ruturns an array of interfaces. Then I call the
methods on those interfaces through the application.
Calling in to these interfaces is what is slowing me down. I don't see
where you can change the comunicatin method when using
CreateInstanceFromAndUnwrap.
"Laura T." <LT_stop@xxxxxxxxx> wrote in message
news:uo596waAIHA.3716@xxxxxxxxxxxxxxxxxxxxxxx
Have you tried other IPC methods, like named pipes or even sockets?
"Bob Bins" <deveng@xxxxxxxxx> ha scritto nel messaggio
news:%23jn5AmRAIHA.4752@xxxxxxxxxxxxxxxxxxxxxxx
I need to implement a plugin interface that is isolated and can be loaded
and unloaded at any time. Right now I am usign a second app domain and
calling in to it using remoting. The problem is remoting is way to slow.
I need to pass in a Stream of data a couple hundred times a second. In
my testing calling this method cuts my perfomrance from about 2 million
trasactions an hour to around 500k, which is unexceptable. Are there any
other solutions out there?
.
- References:
- Re: Cross domain performance
- From: Bob Bins
- Re: Cross domain performance
- Prev by Date: Re: Performance issue
- Next by Date: Performance issue after conversion to 2.0
- Previous by thread: Re: Cross domain performance
- Next by thread: Re: Any improvements in performance for .NET 3.5?
- Index(es):
Relevant Pages
|