Slow Remoting



Hi

I've developed a remoting application that uses a TCP channel with a Binary
formatter. The server side is a Windows Service that is on the same server
as the database.
The service hosts Singleton components under one port and the same
components (gave them different remote names though) as SingleCall under a
different port.
Basically on the client I can then just choose which components to connect
to. I usually connect to the Singleton since they are faster.

When I first started developing this application, it ran quite fast... Much
faster than the VB6 app that it is replacing.
When I deployed it to the some of the customers, it is VERY slow. The
program takes forever just to show the Splash screen.... as in more than a
minute (and that is basically the first code that is executed). The VB6 app
that connects directly to the database over the network opens up and logs in
in seconds.
Last week however, I deployed that app on a new customer's network and after
we sorted out the firewall, that thing was freakin fast.

So since I haven't changed anything on the app, I'm thinking there is some
settings in Windows or somewhere that is affecting the application's
performance. Maybe this is Framework related and not really remoting, but I
don't know.
Any ideas what could cause the performance problems?


.



Relevant Pages

  • Re: Displaying a popup from a windows service using .NET remoting
    ... A Windows Service that acts as a remoting server. ... A client UI piece that launches with each login (i.e. in the same ...
    (microsoft.public.dotnet.framework.remoting)
  • Re: Remoting or windows service
    ... the client and the server. ... Does vs.net provide a way to work with the client end and the ... BTW your rundown on the differences between remoting and services was ... > user (which means that a Windows service can run even if there is no user ...
    (microsoft.public.dotnet.framework.remoting)
  • Re: Authorizaing users in server C# 2.0
    ... I have a server application running as a windows service. ... connect via remoting to the server. ... clients using LDAP or Windows security. ... I think you have to host your application in IIS in order to authenticate using LDAP or Windows Security, so you have to switch your windows service in web application. ...
    (microsoft.public.dotnet.framework.remoting)
  • Displaying a popup from a windows service using .NET remoting
    ... notification to the user in the form of a winform, ... received by the windows service. ... remoting server, and the windows service acts as the client that calls ... the server each time it wants the server to show the popup. ...
    (microsoft.public.dotnet.framework.remoting)
  • Re: Creating a windows service that uses sockets
    ... trying to find a way to take the current vb6 app and create a windows service ... How do you create a service (for the server side) ... that accepts incoming client connections using system.net.sockets? ...
    (microsoft.public.dotnet.languages.vb)