Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    Regular Coder
    Join Date
    Jun 2002
    Posts
    317
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Session - System Resources

    Hi,

    When we talk about session load the system resources, beside the mamory used, what are the others resources it means????

    just wanna to know in details.....

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Location
    Northern NJ
    Posts
    404
    Thanks
    0
    Thanked 1 Time in 1 Post
    well I don't know if speed would count, but bandwidth is a resource that sessions eat. if you have 30 concurrent users and you have 10 items in a session variable for each user, your visitors see a very big change in the speed in which pages load in direct result of the number of users logged into your site.

    what I do is after someone logs in I only keep their username in the session variable (only). then if they request more information search the database for the record with that username (unique usernames of course).
    I would rather be a lion for a day than a lamb that lives forever.

  • #3
    Regular Coder
    Join Date
    Jun 2002
    Location
    Stillwater Ok
    Posts
    226
    Thanks
    0
    Thanked 0 Times in 0 Posts
    The amount of the preformance hit you take is driectly related to your available bandwitdth and server "mamory". The better they are, the better your preformance will always be.

    I use sessions on some of my sites, that has had up to 230 active users with no noticable drop in preformance.
    "Never offend people with style when you can offend them with substance."
    --Sam Brown

  • #4
    Regular Coder
    Join Date
    Oct 2003
    Location
    London, UK
    Posts
    411
    Thanks
    0
    Thanked 1 Time in 1 Post
    Originally posted by ecnarongi
    what I do is after someone logs in I only keep their username in the session variable (only). then if they request more information search the database for the record with that username (unique usernames of course).
    NO!! Don't do that! Use the application and session collections to cache variables sensibly and you'll get HUGE speedups! Otherwise you're hitting the DB for exactly the same information every time, and incurring unneccessary DB hits, which increase Web server<>DB server bandwidth usage, and reduce performance of your web app because of the delay!
    Marcus Tucker / www / blog
    Web Analyst Programmer / Voted SPF "ASP Guru"

  • #5
    Senior Coder Spudhead's Avatar
    Join Date
    Jun 2002
    Location
    London, UK
    Posts
    1,856
    Thanks
    8
    Thanked 110 Times in 109 Posts
    server "mamory"
    size matters, huh?



  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •