Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Which Clojure library for accessing a Cassandra database?

Some that I am aware of are vhector and clj-hector. Actively-maintained libraries preferred. Thanks.

like image 459
bshanks Avatar asked Sep 16 '11 05:09

bshanks


People also ask

What is DataStax used for?

DataStax is a database platform, that uses Apache Cassandra, which is built for the performance and availability demands of Web, Mobile, and IoT applications. It gives enterprises a secure always-on database that remains operationally simple when scaled in a single datacenter or across multiple data centers and clouds.

Which language is used in Cassandra?

The Cassandra Query Language (CQL) is the primary language for communicating with the Apache Cassandra™ database. The most basic way to interact with Apache Cassandra is using the CQL shell, cqlsh. Using cqlsh, you can create keyspaces and tables, insert and query tables, plus much more.


2 Answers

I don't have first-hand knowledge, but here's a list of Cassandra Clojure libs, sorted by number of GitHub watchers:

http://clojuresphere.herokuapp.com/?sort=watchers&query=cassandra

It also shows when they were last updated. "Actively maintained" can be difficult to gauge. A lib might have an active maintainer even if it hasn't been updated in a long time. The lib may just be sufficiently-featured and bug-free.

like image 138
Justin Kramer Avatar answered Oct 04 '22 18:10

Justin Kramer


I am using alia for this clojure-news-feed and sustaining 20000 inserts per minute with latencies of 8 ms for the mode and 47 ms for the 95 percentile. This is CQL 3.

like image 43
Glenn Avatar answered Oct 04 '22 18:10

Glenn