Cache vs Session,Application state for datagrid - DOTNET

This is a discussion on Cache vs Session,Application state for datagrid - DOTNET ; Hi Guys, I have a question,what is the best way to preserve dataset in web application: Cache object,Session or Application state. >From perfomance,scalability point of view? Any ideas? Thanks, Marina...

+ Reply to Thread
Results 1 to 5 of 5

Cache vs Session,Application state for datagrid

  1. Default Cache vs Session,Application state for datagrid

    Hi Guys,

    I have a question,what is the best way to preserve dataset in web
    application:
    Cache object,Session or Application state.
    >From perfomance,scalability point of view?

    Any ideas?

    Thanks,

    Marina


  2. Default Re: Cache vs Session,Application state for datagrid

    Hello, Marisha!

    M> I have a question,what is the best way to preserve dataset in web
    M> application:
    M> Cache object,Session or Application state.
    ??>> From perfomance,scalability point of view?
    M> Any ideas?

    I assume that dataset is valid for secial session? if so you can use Session.
    If dataset is application wide you can store it in some static property, or static suctom cache object.(smth like static hashtable)

    --
    Regards, Vadym Stetsyak
    www: http://vadmyst.blogspot.com

  3. Default Re: Cache vs Session,Application state for datagrid

    Hi Vadym,
    Thanks fro you reply,
    I used session and cache object for storing dataset that fills datagrid
    and both give me out of memory exception when i try to edit some row in
    a datagrid that has 900+ rows.
    Is 900+ is to much to handle for the grid?


  4. Default Re: Cache vs Session,Application state for datagrid

    Hello, Marisha!

    M> Hi Vadym,
    M> Thanks fro you reply,
    M> I used session and cache object for storing dataset that fills datagrid
    M> and both give me out of memory exception when i try to edit some row in
    M> a datagrid that has 900+ rows.
    M> Is 900+ is to much to handle for the grid?

    Hard to tell, it depends also on column number...

    OTOH why do you have to store the dataset of such size?

    --
    Regards, Vadym Stetsyak
    www: http://vadmyst.blogspot.com

  5. Default Re: Cache vs Session,Application state for datagrid

    I have about 15 columns.
    On average I have about 30-50 rows in dataset.
    It's very rarely that I have so bulky data,but if I have it,I need to
    be able to handle it..


+ Reply to Thread

Similar Threads

  1. IIS 6 application pool, Cache and Custom error, Session state
    By Application Development in forum Inetserver
    Replies: 1
    Last Post: 10-13-2007, 08:40 PM
  2. Moving existing application from using Session State InProc to SQL
    By Application Development in forum DOTNET
    Replies: 4
    Last Post: 08-28-2007, 11:03 AM
  3. Re: Session state IIS (Machine Key | Load Balanced Session)
    By Application Development in forum Inetserver
    Replies: 0
    Last Post: 04-13-2006, 04:27 AM
  4. Replies: 1
    Last Post: 05-23-2005, 07:33 AM
  5. Replies: 0
    Last Post: 04-21-2004, 06:54 AM