.NET and VPN remote operation speed

I am working on a project that uses .NET Remoting to communicate between a client application and an object server. For development, the client, server, and MSSQL databases work on my local development machine.

When I work in the office, responsiveness is in order.

However, when I work at home, the speed is much slower. If I disconnect from the VPN, it will accelerate (I think, but maybe it's just wishful thinking). If I completely turn off my wireless connection, it will immediately accelerate to a full throttle.

My guess is that the remote traffic is routed through some point, which slows everything down, even though my home router and / or VPN.

Does anyone have any ideas on how to make remote traffic stay completely localized?

+7
performance remoting wireless vpn
source share
4 answers

Perhaps during development you could use the remote IPC pipe, which uses named pipes instead of TCP. If your remote channels are configured through a configuration file, you don’t even have to recompile.

I found that the link below is useful when setting up an IPC channel.

http://www.danielmoth.com/Blog/2004/09/ipc-with-remoting-in-net-20.html

+2
source share

I had the same problem when immediately, when you disconnected, the situation improved significantly.

If you are using Windows VPN, you need to change the default setting. This will force the connection to use the remote router as a gateway when connecting. If you go to the properties for the connection, go to the "Network" tab. Select TCP / IPv4 and go to the properties. In this window, select "Advanced" ... and it will be possible to use the default gateway on the remote network, make sure that this is NOT verified. That should help a lot.

+1
source share

I worked on the project last summer, and quite significant modifications were required for .NET Remoting. I don’t remember all the features, but if we had more than one network interface, we would not be able to get a ready-made Remoting solution to reliably determine which route Remoting came from, which did terrible things for the presentation. This seems like a problem with a similar, if not the same.

0
source share

I do not have VPN connections on my current computer, but somewhere in the TCP / IP properties for the connection there is a checkbox indicating that you are using the remote host as a gateway or something like that.

This once caused me a lot of problems, as all my traffic passed through the VPN, and then back, even when I wanted to do something locally.

0
source share

All Articles