Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • mature and feature-rich solution
  • not only for caching data but also for computation in clustered environment
  • offers first-class Spring support (Spring cache abstraction layer, Spring Boot support, Spring configuration in common)
  • does support management tools, like Hazelcast management center


Info

OpenHub framework uses Spring cache abstraction layer or Spring Boot (auto-configuration) for decoupling from specific cache implementation. Then it's possible to use different cache providers (such as Redis, ehCache, ...) without making changes in the code (only configuration).

Nevertheless there are implementations which use directly Hazelcast's features, for example org.openhubframework.openhub.core.throttling.ThrottleCounterHazelcastImpl for throttling counting.

...

Info
titleCluster configuration

By default, hazelcast is configured as standalone single-node. For cluster deployment it should be configured accordingly, see hazelcast specification for more info: (https://docs.hazelcast.org/docs/2.0/manual/html/ch13.htmlhttps://docs.hazelcast.org/docs/latest-development/manual/html/Setting_Up_Clusters/Discovery_Mechanisms.htmlHazelcast configurationCluster - Discovery Mechanisms).

OpenHub framework uses Spring Boot Hazelcast support for auto-configuration. There is parameter spring.hazelcast.config which can change configuration file.

...