G
Guest
Hi
I have a N-tier ASP.NET application that uses a data access tier to get data
from a database and pass it to the middleware/business tier for
processing/filtering and then passes the modified data to the web tier for
presentaion.
What I would like to do is introduce a cache to the middleware tier to cut
down on the round trips to the database.
The question I have is this. Is the cache threadsafe? I will be accessing it
from two different places in the middleware tier. One to read the cache, the
other to update the cache.
Reading newsgroups I am getting conflicting messages as to whether the cache
is thread safe or not.
I'd appreciate any advice,
Thanks
Macca
I have a N-tier ASP.NET application that uses a data access tier to get data
from a database and pass it to the middleware/business tier for
processing/filtering and then passes the modified data to the web tier for
presentaion.
What I would like to do is introduce a cache to the middleware tier to cut
down on the round trips to the database.
The question I have is this. Is the cache threadsafe? I will be accessing it
from two different places in the middleware tier. One to read the cache, the
other to update the cache.
Reading newsgroups I am getting conflicting messages as to whether the cache
is thread safe or not.
I'd appreciate any advice,
Thanks
Macca