![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
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? |
#3
| |||
| |||
|
|
Have you tried other IPC methods, like named pipes or even sockets? "Bob Bins" <deveng (AT) yahoo (DOT) com> ha scritto nel messaggio news:%23jn5AmRAIHA.4752 (AT) TK2MSFTNGP04 (DOT) phx.gbl... 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? |
#4
| |||
| |||
|
|
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 (AT) yahoo (DOT) com> wrote in message news:uo596waAIHA.3716 (AT) TK2MSFTNGP03 (DOT) phx.gbl... Have you tried other IPC methods, like named pipes or even sockets? "Bob Bins" <deveng (AT) yahoo (DOT) com> ha scritto nel messaggio news:%23jn5AmRAIHA.4752 (AT) TK2MSFTNGP04 (DOT) phx.gbl... 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? |
#5
| |||
| |||
|
|
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 (AT) yahoo (DOT) com> wrote in message news:uewKwCEBIHA.4496 (AT) TK2MSFTNGP06 (DOT) phx.gbl... 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 (AT) yahoo (DOT) com> wrote in message news:uo596waAIHA.3716 (AT) TK2MSFTNGP03 (DOT) phx.gbl... Have you tried other IPC methods, like named pipes or even sockets? "Bob Bins" <deveng (AT) yahoo (DOT) com> ha scritto nel messaggio news:%23jn5AmRAIHA.4752 (AT) TK2MSFTNGP04 (DOT) phx.gbl... 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? |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |