Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Cached object concurrency

Reply
Thread Tools

Cached object concurrency

 
 
olduncleamos
Guest
Posts: n/a
 
      07-28-2005
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.

 
Reply With Quote
 
 
 
 
Brock Allen
Guest
Posts: n/a
 
      07-28-2005
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.
>




 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Web Service with permanent object cached? df ASP .Net Web Services 1 12-07-2005 10:25 AM
Object creation - Do we really need to create a parent for a derieved object - can't the base object just point to an already created base object jon wayne C++ 9 09-22-2005 02:06 AM
my cached dataset just wont stay cached!! Craig G ASP .Net 0 03-07-2005 10:02 AM
using flock for concurrency control Babu Perl 0 03-01-2005 04:18 PM
Re: data concurrency Craig Deelsnyder ASP .Net 0 08-29-2003 01:02 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57