scalability - Are there any benefits of using hazel cast over Cassandra -


i want implement session store web application. here's profile of application.

  1. the information associated session not change lot, change sometimes.
  2. session reads(session.getattribute()) more frequent writes(session.setattribute()).
  3. i don't want deal master node based architecture(like redis).
  4. data associated session small, number of sessions large.
  5. the lookup in form of key value in hash map.
  6. i ok eventual consistency.
  7. i want able specify replication factor. i.e. number of nodes hold data given session
  8. i looking open source solutions wouldn't incur license cost above features.
  9. for want store upto 10,000 sessions 10kb data per session(on average), want scale 100,000 sessions or more!

in app hazelcast being used other functionality. don't want deciding factor. cassandra seems fulfill requirements , seems quite popular. reason should chose hazelcast on cassandra?

disclaimer: hazelcast employee

in general argue if can exchange hazelcast cassandra or cassandra hazelcast, 1 of tools misused. have plenty of people using them companions, meaning cassandra storage layer , hazelcast caching layer, cassandra, however, not cache , hazelcast not database.

if want persist storages disk, go cassandra (maybe add caching hazelcast), if want distribute, go hazelcast. latter case if "doesn't matter" if loose sessions once in while if (for reason or another) restart cluster.


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -