471,337 Members | 1,342 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,337 software developers and data experts.

Enterprise Cacheing Block

I'm looking to implement the Enterprise Cacheing block as a plugin to an ASP
page. I expect this page to be hit many many times a second and I'm
concerned about thread safety. One of the 'bullet points' that I saw in the
description of the block was "Thread Safety" but I've found nothing
expounding on this feature.

Can someone point me at some literature or examples that shows how this is
implemented?

Anybody have any experience with this block??

Eddy
Apr 10 '08 #1
1 1211
I haven't used it, but if you have something in Cache, it is normally
readonly - it's either there or it isn't, so the only thing you need to be
concerned about is clients not getting any data because the cache item is
"in the process" of being populated. So you could either wrap the
repopulation call in a lock statement block, or just have the calling code
check for null first.
--Peter
"Eddy Jones" <ej****@shopzilla.comwrote in message
news:%2****************@TK2MSFTNGP05.phx.gbl...
I'm looking to implement the Enterprise Cacheing block as a plugin to an
ASP page. I expect this page to be hit many many times a second and I'm
concerned about thread safety. One of the 'bullet points' that I saw in
the description of the block was "Thread Safety" but I've found nothing
expounding on this feature.

Can someone point me at some literature or examples that shows how this is
implemented?

Anybody have any experience with this block??

Eddy
Apr 11 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

10 posts views Thread by Clive Backham | last post: by
2 posts views Thread by bjhogan | last post: by
6 posts views Thread by Jonathan Crawford | last post: by
1 post views Thread by shapper | last post: by
reply views Thread by =?Utf-8?B?U2hyaWthbnQgTW9yZQ==?= | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.