Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Some Cassandra Gotchas

DZone's Guide to

Some Cassandra Gotchas

· Java Zone
Free Resource

Get the Edge with a Professional Java IDE. 30-day free trial.

Here are some points to keep in mind when working with Cassandra.

  • Have to use ordered partitioner if you want row keys in sorted order. Be aware that if the row keys are not distributed properly it would create hot spots since most of rows will be concentrated to several nodes.
  • Columns are sorted using definitions given when creating the column family but row keys are not sorted according to them.

Get the Java IDE that understands code & makes developing enjoyable. Level up your code with IntelliJ IDEA. Download the free trial.

Topics:

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}