You are previewing Clojure in Action.

Clojure in Action

Cover of Clojure in Action by Amit Rathore Published by Manning Publications
O'Reilly logo

Chapter 9. Data storage with Clojure


This chapter covers

  • Using Clojure with MySQL for simple needs
  • Using Clojure with HBase for big data
  • Using Clojure with Redis for key-value storage


This chapter begins an exciting journey. We’re going to use all the concepts you’ve learned so far and apply them to applications that might be useful in the real world. We’ll start by discussing a simple requirement common to most nontrivial applications, that of storing data.

First, we’ll look at relational database systems because many applications need a standard relational database. MySQL fits the bill for most people, and we’ll examine an open source project that provides functionality to allow Clojure programs to talk to MySQL.

After discussing ...

The best content for your career. Discover unlimited learning on demand for around $1/day.