Cached object concurrency

Discussion in 'ASP .Net' started by olduncleamos, Jul 28, 2005.

  1. olduncleamos

    olduncleamos Guest

    Hi all,

    I have an object that its sole function is to operate on other objects
    stored in the session. It maintains some non-volatile data that are to
    be shared by all clients.

    If I put this object into the cache, would method calls from different
    clients be handled in a serial manner (one blocking the other)? I am
    guessing the object won't get magically cloned into another thread but
    I thought I should find out for sure.

    Thanks in advance and sorry if it is a dumb question.
     
    olduncleamos, Jul 28, 2005
    #1
    1. Advertisements

  2. olduncleamos

    Brock Allen Guest

    Correct -- items in the cache might be accessed concurrently.

    -Brock
    DevelopMentor
    http://staff.develop.com/ballen



    > Hi all,
    >
    > I have an object that its sole function is to operate on other objects
    > stored in the session. It maintains some non-volatile data that are to
    > be shared by all clients.
    >
    > If I put this object into the cache, would method calls from different
    > clients be handled in a serial manner (one blocking the other)? I am
    > guessing the object won't get magically cloned into another thread but
    > I thought I should find out for sure.
    >
    > Thanks in advance and sorry if it is a dumb question.
    >
     
    Brock Allen, Jul 28, 2005
    #2
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Babu
    Replies:
    0
    Views:
    616
  2. Brian Henry

    concurrency issues (on aspx page in vb)

    Brian Henry, Oct 8, 2003, in forum: ASP .Net
    Replies:
    4
    Views:
    539
  3. Homa
    Replies:
    7
    Views:
    610
    John Saunders
    Nov 16, 2003
  4. Homa
    Replies:
    1
    Views:
    549
    Alvin Bruney
    Nov 21, 2003
  5. Adam W. Saxton

    SQL Temporary Table Concurrency

    Adam W. Saxton, Dec 8, 2003, in forum: ASP .Net
    Replies:
    5
    Views:
    5,454
    David Browne
    Dec 9, 2003
  6. Craig G
    Replies:
    0
    Views:
    527
    Craig G
    Mar 7, 2005
  7. jon wayne
    Replies:
    9
    Views:
    992
    Jim Langston
    Sep 22, 2005
  8. df

    Web Service with permanent object cached?

    df, Dec 6, 2005, in forum: ASP .Net Web Services
    Replies:
    1
    Views:
    279
Loading...