what is hazlecast ?

What is hazlecast ?

  • client → send request → LB → behing LB there are multiple server → each having our application runnin in tomcat server → running our WAR → now we can use httpSession to create session object and later store and show the session data to the user , these sessions objects will be stored in db → but we can also store some user data in → map,tree,graph or any form in hazlecast → which is in memory data store and this data can be shared accross jvm.
  1. in memory , distributed caching mechanismis for the jvm persistence , reliabiliry
  2. datagrid is there : data is shared between these nodes
  3. there is no master,slave concept, same as cassandra
  4. if one node goes down it will balance the nodes in the grid
  5. data partion : data is stored in the nodes
  6. we can share the hashmap data across the jvm → so here hazlecast solves this issue ,
  7. we can create the instance of hazlecast , store anything in that object retreive that and also share it
  8. publisher → subsriber → model is also there
  9. Cluster level locks → writing data in a cluster solves the problem of caching