Cache or HttpApplicationState

B

Brian

Hopefully someone can clear this up for me.

Is "Context.Cache.Insert(....)" cached per worker process? So if I have a
webservice and we up the process to something like 5, does that mean that
there will be 5 copies of the same object in memory?

I have something crucial that I need to keep in cache, but there can only be
one version of it, and all the processes must use the same object.
In this case, would it be a good idea to use the
"HttpContext.Current.Application.Set(...)"?

I believe this is the case in web applications, but I have never seen this
issue addressed in web services. Is this even an issue?
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,997
Messages
2,570,239
Members
46,827
Latest member
DMUK_Beginner

Latest Threads

Top