Enterprise Cacheing Block

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Eddy Jones

    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


  • Peter Bromberg [C# MVP]

    #2
    Re: Enterprise Cacheing Block

    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" <ejones@shopzil la.comwrote in message
    news:%23$m7uG1m IHA.5268@TK2MSF TNGP05.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
    >

    Comment

    Working...