2 Replies Latest reply on Feb 2, 2014 7:21 PM by Alfie Kirkpatrick

    Avoiding ExternalStore.load() on cache put for new random keys

    Alfie Kirkpatrick Newbie

      In our application we are tracking sessions using UUIDs. If an existing session isn't supplied by the client, we generate a new one and put it in the cache.

       

      So we know when a put to the cache is a new entry or an update to an existing entry. It would give us a small performance benefit if we could have a putNew method call or similar (perhaps on AdvancedCache).

       

      I wonder if anyone else would find this useful.

       

      Thanks, Alfie.