Re: Limit number of COM+ sessions




Hi Nicholas,
Thank you for the post. I am not able to find the
Object Pooling property for my component. There will be difference
when compared to Win2000 and XP I believe?

Thanks.

On Feb 20, 9:54 pm, "Nicholas Paldino [.NET/C# MVP]"
<m...@xxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
    You can't do this on the app level, but you can do it on the component
level.  You would configure your component to use object pooling, setting
the maximum size of the pool to 5.  Then, when the 6th request comes in, it
will block until an object is ready to be used from the pool.

    Of course, you have to be careful, depending on what other services that
you are applying to your components, object pooling might not make sense.

--
          - Nicholas Paldino [.NET/C# MVP]
          - m...@xxxxxxxxxxxxxxxxxxxxxxxxxxx

"Remote_User" <ami...@xxxxxxxxx> wrote in message

news:a5abe4df-7ae6-4e9f-81a4-b9ca949b3dee@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx



Hi All,
        I have my ASP.NET application hosted in COM+ and I have my
client app. Is there any way I can limit the number os sessions? Say,
I have 5 client requests and they instantiate 5 COM+ sessions on the
server and on the 6th one I want that to get blocked and tell the user
that the server is busy pls try later or something like that.
        Can this be done? I am on .NET FW1.1.

Thanks !- Hide quoted text -

- Show quoted text -

.



Relevant Pages

  • Re: We have GC problem
    ... doing too much GCs. ... The JProbe analyzer says class Bio_lMx315 and ... Well, i suppose this article dates back to 1998, with modern JVMs object pooling is generally considered to *lose* performance in most cases! ... See http://www-128.ibm.com/developerworks/java/library/j-jtp01274.html for a good explanation of this topic, maybe this also gives some insights on how to fix your server :-) ...
    (comp.lang.java.programmer)
  • Re: Limit number of COM+ sessions
    ... Only "Server" type COM+ components can be pooled. ... You would configure your component to use object pooling, ... > client app. ... Is there any way I can limit the number os sessions? ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Limit number of COM+ sessions
    ... this will be on the server side component. ... settings available through the Component Services Manager. ... You would configure your component to use object pooling, ... Is there any way I can limit the number os sessions? ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Limit number of COM+ sessions
    ... the activation type is "Server application". ... own (the client) process. ... Only Server types can be pooled, object pooling can be configured by ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Limit number of COM+ sessions
    ... You can't do this on the app level, but you can do it on the component ... you are applying to your components, object pooling might not make sense. ... Is there any way I can limit the number os sessions? ... that the server is busy pls try later or something like that. ...
    (microsoft.public.dotnet.languages.csharp)

Loading