SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Member
    Join Date
    Aug 2002
    Location
    Finland
    Posts
    44
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Number of sessions on web app >>> perf consider?

    Hello,

    This is a question which comes back now and then:

    Does the number of concurrent sessions on web app based on J2EE (weblogic,websphere etc) with whatever db in back in general have any significant impact on system performance?

    Customers are sometimes very keen on simulating real usage load on system and they do not always buy the explanation about the difference between number of concurrent sessions and the activities performed in the applications (searches/min, updates/min, logins/min etc)

    If we consider the system is set up properly, and the estimated amount of concurrent sessions in prod can be counted in mostly a few hundreds, usually much less than a hundred, how relevant is the number of concurrent sessions really? IMO what matters is what actions are done/how often in the sessions, how often etc, not number of sessions itself.

    >>> Is this safe to assume tha in a general "web app" (N-tier with limited amount of users, NOT large B2C portals), number of sessions itself is not a big performance issue, unless development team can provide an answer to why it would be a so.

    >>> How then about Citrix Metaframe, SAP Client-server, Ancient Oracle client-server solutions and other similar C-C solutions, in general? In a Citrix solution number of sessions is a performance issue AFAIK (?), how about the others, SAP foremost?
    Mikael Udd

  2. #2
    Junior Member
    Join Date
    Jan 2008
    Posts
    7
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Number of sessions on web app >>> perf consider?

    Each session requires some resources even if it does nothing. Sometimes active sessions haven't got enough resources for proper operation therefore.
    Sergei Leonov
    GPM, SoftLogica

  3. #3
    Super Member SteveO's Avatar
    Join Date
    Jul 2004
    Location
    St. Louis, MO, USA
    Posts
    1,236
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Number of sessions on web app >>> perf conside

    Concurrent sessions usually aren't a problem.... until they're a problem.

  4. #4
    Moderator
    Join Date
    Sep 2001
    Location
    Boston, MA
    Posts
    4,348
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Number of sessions on web app >>> perf conside

    [ QUOTE ]
    >>> Is this safe to assume tha in a general "web app" (N-tier with limited amount of users, NOT large B2C portals), number of sessions itself is not a big performance issue, unless development team can provide an answer to why it would be a so.

    [/ QUOTE ]

    it totally depends.. I am testing an object caching system that we need to use because we are having SUCH problems with sessions being too big and using available memory even when they are doing nothing.

    I guess my point is: number of sessions itself CAN be a big performance issue.
    Corey Goldberg
    Homepage: goldb.org
    Twitter: twitter.com/cgoldberg
    Google+: gplus.to/cgoldberg

  5. #5
    Senior Member
    Join Date
    Mar 2005
    Location
    St. Louis
    Posts
    632
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Number of sessions on web app >>> perf conside

    As long as your application does not track session state, I am inclined to agree that user concurrency is less of a concern. However, when session state is tracked, this consumes memory on the server. Depending on how long those sessions remain active, this memory usage can add up quickly and nastily.
    1. 9.5
    2. Web/HTTP (HTML mode)
    3. No
    5. None
    6. New
    7. Web 5800
    Network 1000
    DCOM 1000
    Oracle 1000
    Remote Access 1000
    8. Yes
    9. Windows Server 2003 SP1
    10. No

    What Everyone Should Read Before Asking For Help on the Internet

  6. #6
    Moderator JakeBrake's Avatar
    Join Date
    Dec 2000
    Location
    St. Louis - Year 2025
    Posts
    15,609
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Number of sessions on web app >>> perf conside

    ... and "overpower" the tasks that clean them out and free memory needed for new sessions.

  7. #7
    Senior Member
    Join Date
    Dec 2006
    Posts
    1,838
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Number of sessions on web app >>> perf conside

    sessions when left open results in kind of dos attacks, imagine you have say about 1k connection pool in the db, now when 1k users connect it ,it works and now when say about 100 close the browser and those sessions are not killed or closed, maybe next 100 cannot access your application giving some error from the DB side.
    So always close the session and save the resources maybe this can give a good apprisal from the client.

  8. #8
    Moderator
    Join Date
    Sep 2001
    Location
    Boston, MA
    Posts
    4,348
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Number of sessions on web app >>> perf conside

    [ QUOTE ]
    sessions when left open results in kind of dos attacks

    [/ QUOTE ]

    I am not quite sure what "left open" means. I think this discussion has to do with the number of session objects stored and what that impact may be.
    Corey Goldberg
    Homepage: goldb.org
    Twitter: twitter.com/cgoldberg
    Google+: gplus.to/cgoldberg

  9. #9
    Senior Member
    Join Date
    Dec 2006
    Posts
    1,838
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Number of sessions on web app >>> perf conside

    [ QUOTE ]
    sessions when left open results in kind of dos attacks


    --------------------------------------------------------------------------------



    I am not quite sure what "left open" means. I think this discussion has to do with the number of session objects stored and what that impact may be.

    [/ QUOTE ]

    it means that not closing the user session properly, example of it is directly closing the browser,application shutdown etc without explicity logging off the application.
    Session objects could be anything, it could session in terms of users, that is number of connection in terms DB, number of threads in terms of application server etc.well i think session could take anymeaning depending on where you see it in the application and when you find out the root cause of it.
    my very recent encounter of it was something where you have say 100 connection pool on the DB side and still the application is not able to sustain the load of 15 users concurrently.This could be badly coded code, wrong configured Database or badly application server etc.

  10. #10
    Super Member SteveO's Avatar
    Join Date
    Jul 2004
    Location
    St. Louis, MO, USA
    Posts
    1,236
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Number of sessions on web app >>> perf conside

    Couldn't you just configure your webserver to time those connections out if they're not closed properly?

 

 
Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 9.38%
vBulletin Optimisation provided by vB Optimise v2.6.4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.2.8 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 02:17 PM.

Copyright BetaSoft Inc.