in both 1.0 and 1.1 if you have 1 Processor:

     - method execution is serialized at server side
     - you only have concurrency if the server thread associated with the
remote call gets into a sleeping stage.

to "solve" the problem you can dispatch the execution to a second thread
with QueueUserWorkItem or with the thread class.

to see more details take a look at

http://groups.google.pt/groups?hl=pt-PT&lr=&ie=UTF-8&oe=UTF-8&threadm=%23UDfm90FDHA.388%40TK2MSFTNGP10.phx.gbl&rnum=3&prev=/groups%3Fq%3Dremoting%2Bthreading%2B%26ie%3DUTF-8%26oe%3DUTF-8%26hl%3Dpt-PT

Douglas Purdy said

"Based on the amount of feedback I am seeing about this issue, I am going to
do two things:

1.  We are going to write up a KB about it." (remoting threading model)

"2.  We will look at a possible change to the way that we initialize our
dispatcher.  Perhaps we can have two modes -- throughput & concurrency.  I
can't promise anything right now -- but if you are interested in seeing
something like this, send me email at [EMAIL PROTECTED]"

regards,

Manuel


----- Original Message -----
From: "Diranieh, Yazan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, October 22, 2003 10:29 AM
Subject: [ADVANCED-DOTNET] .NET Remoting and thread pooling


> I have a windows service that acts as a .NET Remoting listener for
incoming
> requests from remote clients. I verified that the listener does actually
use
> the thread pool to service client requests. Now, given the fact that there
are
> (by default) only 25 threads available in each CPU's thread pool, should a
> specific programming paradigm be followed by clients to ensure
scalability?
>
> For example, assuming my server has only one CPU (hence 25 pool threads),
how
> can I ensure that my .NET listener on the server will respond to 50
> simultaneous clients? Should clients invoke methods asynchronously? Should
> clients use only Single Call SAOs and hence server-side components should
be
> implemented as stateless?
>
> Is there a document out there that formalizes the required/recommended
> approaches for scalability with .NET Remoting?
>
> Thanks
> Yazan
>
>
>
============================================================================
==
> This message is for the named person's use only. It may contain sensitive
and
> private proprietary or legally privileged information. No confidentiality
or
> privilege is waived or lost by any mistransmission. If you are not the
> intended recipient, please immediately delete it and all copies of it from
> your system, destroy any hard copies of it and notify the sender. You must
> not, directly or indirectly, use, disclose, distribute, print, or copy any
> part of this message if you are not the intended recipient. CREDIT SUISSE
> GROUP and each legal entity in the CREDIT SUISSE FIRST BOSTON or CREDIT
SUISSE
> ASSET MANAGEMENT business units of CREDIT SUISSE FIRST BOSTON reserve the
> right to monitor all e-mail communications through its networks. Any views
> expressed in this message are those of the individual sender, except where
the
> message states otherwise and the sender is authorized to state them to be
the
> views of any such entity.
> Unless otherwise stated, any pricing information given in this message is
> indicative  only, is subject to change and does not constitute an offer to
> deal at any price quoted. Any reference to the terms of executed
transactions
> should be treated as  preliminary only and subject to our formal written
> confirmation.
>
============================================================================
==
>
> ===================================
> This list is hosted by DevelopMentorŪ  http://www.develop.com
> NEW! ASP.NET courses you may be interested in:
>
> 2 Days of ASP.NET, 29 Sept 2003, in Redmond
> http://www.develop.com/courses/2daspdotnet
>
> Guerrilla ASP.NET, 13 Oct 2003, in Boston
> http://www.develop.com/courses/gaspdotnet
>
> View archives and manage your subscription(s) at
http://discuss.develop.com

===================================
This list is hosted by DevelopMentorŪ  http://www.develop.com
NEW! ASP.NET courses you may be interested in:

2 Days of ASP.NET, 29 Sept 2003, in Redmond
http://www.develop.com/courses/2daspdotnet

Guerrilla ASP.NET, 13 Oct 2003, in Boston
http://www.develop.com/courses/gaspdotnet

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to