1 Reply Latest reply: Jan 16, 2011 2:14 AM by 821277 RSS

    Where is OScache is storing the data?

    831063
      I Have implemented oscache in my webapplication. I'm storing 10 client profiles in it.

      I'm curious to know where is this data being stored? is it stored in session?

      And will it noticable during Performance test?
        • 1. Re: Where is OScache is storing the data?
          821277
          Helo..

          By Default the OSCache caches data in Memory meaning RAM(so it is very fast).Even sessions are stored in RAM and session is a different context and OSCache does not interfere with App Server's session.

          However ,OSCache is completly configurable!!

          OSCache is capable of caching data in memory (so it is very fast), and/or to disk (so your cache can be persistent across server restarts). Support is also provided for managing a cluster of caches across multiple servers.

          In addition to these capabilities, it is possible to plug in custom persistence code and custom event handlers, so you could easily extend OSCache to persist cached objects to say a database or an LDAP directory.


          Hope this is helpful ..
          Do get back in case of further queries..
          Thanks.