Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Clojure
  3. Alia

Alia

Clojure

A high-performance Cassandra CQL3 client for Clojure, built on the DataStax Java driver with async support and a versatile query DSL.

Visit WebsiteGitHubGitHub
246 stars44 forks0 contributors

What is Alia?

Alia is a high-performance Cassandra client for Clojure that wraps the DataStax Java Driver, providing a simple and idiomatic API for interacting with Cassandra databases. It solves the problem of efficiently querying Cassandra from Clojure applications with support for both synchronous and asynchronous execution, a flexible query DSL, and advanced driver features.

Target Audience

Clojure developers building applications that require robust, high-performance access to Apache Cassandra databases, especially those needing async capabilities or expressive query building.

Value Proposition

Developers choose Alia for its combination of simplicity, performance, and full feature set—leveraging the battle-tested DataStax driver while offering Clojure-friendly APIs, async patterns with core.async/manifold, and the optional Hayt DSL for composable queries.

Overview

High performance Cassandra client for clojure

Use Cases

Best For

  • Building Clojure applications that require high-performance Cassandra access
  • Implementing asynchronous database queries using core.async or manifold
  • Using a composable Clojure DSL for building complex CQL3 queries
  • Leveraging advanced Cassandra features like collections, UDTs, and streaming
  • Integrating Cassandra with Component-based Clojure systems
  • Applications needing extensible codecs for custom data types

Not Ideal For

  • Projects preferring a single, all-in-one dependency without managing multiple optional modules
  • Teams already comfortable with raw CQL strings who find DSLs like Hayt add unnecessary abstraction
  • Applications with very basic Cassandra needs where the overhead of async libraries or advanced features is unwarranted
  • Environments requiring extensive, hand-holding documentation or tutorials beyond auto-generated codox

Pros & Cons

Pros

Solid Driver Foundation

Built directly on the DataStax Java Driver, ensuring reliability, performance, and access to advanced features like SSL, authentication, and custom policies through Cassandra's native protocol.

Flexible Async Support

Offers multiple asynchronous interfaces via core.async, manifold, or CompletableFuture, allowing non-blocking operations with backpressure control for streaming rows or pages.

Composable Query DSL

The optional Hayt DSL enables expressive CQL3+ query building using Clojure data structures, with composability through normal map functions and built-in caching for prepared statements.

Extensible and Modular

Features separate modules for async libraries, time codecs, and Clojure spec integration, allowing tailored dependencies and easy extension for custom data types or systems like Component.

Cons

Modular Setup Complexity

The project is split into multiple libraries (e.g., alia-async, alia-manifold), which can complicate dependency management and initial setup, especially for developers unfamiliar with the ecosystem.

Optional DSL Learning Curve

While Hayt is optional, integrating it requires learning a new DSL syntax, which may be redundant for teams already proficient with raw CQL or using simple query patterns.

Sparse Practical Documentation

Documentation relies heavily on auto-generated codox, which may lack beginner-friendly tutorials or real-world examples, potentially slowing onboarding for new users.

Frequently Asked Questions

Quick Stats

Stars246
Forks44
Contributors0
Open Issues5
Last commit5 months ago
CreatedSince 2013

Tags

#database-driver#manifold#async#nosql#cassandra-client#clojure#core-async#query-dsl#cassandra#distributed-database

Built With

C
Clojure
c
core.async
M
Manifold

Links & Resources

Website

Included in

Clojure2.8k
Auto-fetched 1 day ago

Related Projects

DatascriptDatascript

Immutable database and Datalog query engine for Clojure, ClojureScript and JS

Stars5,761
Forks317
Last commit7 months ago
DatahikeDatahike

Versioned, fast, distributed Datalog engine for everyone.

Stars1,831
Forks110
Last commit6 days ago
DatalevinDatalevin

A simple, fast and versatile Datalog database

Stars1,424
Forks79
Last commit1 day ago
next.jdbcnext.jdbc

A modern low-level Clojure wrapper for JDBC-based access to databases.

Stars857
Forks96
Last commit6 days ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub