Re: SigleTon definitive question

From: Ken Kolda (ken.kolda_at_elliemae-nospamplease.com)
Date: 11/10/04


Date: Wed, 10 Nov 2004 09:32:09 -0800

Based on your persistence, I think you're looking for someone to tell you
exactly where the time's going, but I don't think anyone can give you
anything more than a few educated guesses. For example, somone already
mentioned it could be in JITing some classes that get used for the first
time, it could be in loading/initializing the TCP/IP stack, loading some
external DLLs, in DNS resolution or a number of other places. If you were
saying that you were losing a second or two on the first call, I'd
understand your desire to know the source, but you've said it was only about
a tenth of a second. I think you're going to be wasting your time trying to
find the exact location where this time is spent.

By the way, why do you unregister your channel after each call? Is this or
the sake of testing the performance or do you have a requirement that this
connection be as short-lived as possible?

Ken

"Pedro Gago" <pgago_y@yahoo.es> wrote in message
news:%23rknOgwxEHA.1292@TK2MSFTNGP10.phx.gbl...
> Hi everybody,
>
> I'm doing tests with singleton activation mode and I have a doubt that I
> can't solve.
>
> With two clients, the first function call to a server component wastes
more
> or less the same time in both clients. Someone said to me in this news
group
> that this time doesn't depend on the server object creation (because both
> use the same instance) but on the time to open the network connection with
> the server.
>
> But, if I have only one client in which I open and close the channel
every
> time, I can see that the time of making again the connection is 0
> miliseconds.
>
> So, in all this approach there is something wrong. Can anybody help me?
>
> Thanks.
>
> Pedro Gago
>
>



Relevant Pages

  • RE: No internet for clients
    ... I understand that the internal clients ... Please rerun the CEICW to make sure your SBS 2003 server have right ... How to configure Internet access in Windows Small Business Server 2003 ... Two network adapters - manual router connection to broadband ...
    (microsoft.public.windows.server.sbs)
  • RE: SBS VPN connects but no shares..
    ... VPN clients can no longer access internal resources after you install ... Windows Server 2003 Service Pack 1 on a computer that is running ISA Server ... How to configure a VPN connection to your corporate network in Windows XP ...
    (microsoft.public.windows.server.sbs)
  • Re: Problem
    ... the remote site and see if they have the connection manager installed. ... So...whichever is easier to set up on the router. ... location B need to connect individually via VPN to the SBS server at ... server - not sure of the clients ip scheme - but I think it is ...
    (microsoft.public.windows.server.sbs)
  • RE: Cant remote desktop to clients connected via VPN
    ... that the VPN connection works well. ... that RDP does not work to clients connected via VPN (to all other clients it ... > the SBS 2003, but from your IP configuration, I found your DNS server is ...
    (microsoft.public.windows.server.sbs)
  • RE: Clients are losing connection to the server.
    ... Thank you for posting in the SBS newsgroup. ... I understand that clients are losing ... connection to the SBS 2003 SP1 Server. ... 825763 How to configure Internet access in Windows Small Business Server ...
    (microsoft.public.windows.server.sbs)

Loading