none
concurrency and thread safety with appfabric

    Question

  • I am currently working with appfabirc caching using the following methods to interact with the cache:

    Get, Put, Remove

    I am working with a c# application that have numerous users therefore I am concerned with concurrency and thread safety. I had in place a locking mechanism that uses a locking object when interacting with the cache eg.

    lock (object)

    {

    // cache interaction

    }

    I am wondering is this required or does appfabric handle thread safety and concurrency? Any assistance with this would be great.

    dimanche 19 février 2012 20:06

Toutes les réponses