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. Advertising

  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. Advertising

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:
    506
  2. Craig Deelsnyder

    Re: data concurrency

    Craig Deelsnyder, Aug 29, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    365
    Craig Deelsnyder
    Aug 29, 2003
  3. Brian Henry

    concurrency issues (on aspx page in vb)

    Brian Henry, Oct 8, 2003, in forum: ASP .Net
    Replies:
    4
    Views:
    374
  4. Craig G
    Replies:
    0
    Views:
    382
    Craig G
    Mar 7, 2005
  5. df

    Web Service with permanent object cached?

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

Share This Page