locked
Cache in Load Balanced environment RRS feed

  • Question

  • User-591112529 posted

    am using Cache["example "] in my application, Will this cause some problem in load balanced environment.

    Please Explain how this works??

    THanks

    Tuesday, September 25, 2012 3:08 AM

Answers

  • User-14045634 posted

    Hi

    I believe so, yes. The Cache object is a stand-alone in-proc object. Multiple copies of your cache in web gardens or web farms are not synchronized as the Cache doesn't span over multiple nodes in a cluster.

    If you need a cache that is shared across all the nodes of the cluster, you'd better you memcache or AppFabric (free) or NCache (commercial).

     

     

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, September 25, 2012 4:30 AM