DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Wed, 08 Aug 2007 02:24:02 -0000,    posted on: microsoft.public.dotnet.framework        back       

Thread Index
  1    tony
          2    Peter Duniho


Why is IPC communication so slow?   
I use Ipcserverchannel class and Ipcclientchannel to do IPC. I try to
read a file to memory using process A and then use IPC to transport
it
to process B. However, IPC use nearly as much time as from a from
disk, which is very surprising ( I expect it to be much much faster).
What could possibly be  the problem?

Part of my code:


Server:
        IpcServerChannel serverChannel = new
IpcServerChannel("remote");
        ChannelServices.RegisterChannel(serverChannel);


        // Expose an object


RemotingConfiguration.RegisterWellKnownServiceType(typeof(SharedCache),
"myObj", WellKnownObjectMode.Singleton);


Client:
            clientChannel = new IpcClientChannel();
            ChannelServices.RegisterChannel(clientChannel);


RemotingConfiguration.RegisterWellKnownClientType(typeof(SharedObj),
"ipc://remote/myObj");


ShareObj is the shared remoting object which can reading the file
from
the disk and transport the file to the client process.
Date:Wed, 08 Aug 2007 02:24:02 -0000   Author:  

Re: Why is IPC communication so slow?   
tony wrote:

> [multi-posted article]


Please do not multi-post.  If you must post to multiple newsgroups, 
please learn to cross-post properly, including all newsgroups in a 
single post.

Thank you,
Pete
Date:Tue, 07 Aug 2007 21:01:42 -0700   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us