Clustered JDBC

by Pete Freitag

Here's an open source project that CFMX and J2EE developers will find interesting: c-jdbc which stands for Clustered JDBC. It's basically a JDBC driver that lets you cluster several databases (any db with a JDBC driver pretty much), you can even have a cluster of different types of databases that operate on the same schema (eg Oracle and PostgreSQL).

The concept is called RAIDb (Redundant array of inexpensive databases), and they define several types of RAIDb levels:

This technology is great for the open source databases because it allows you to cluster them easily. MySQL does support replication, and there are some solutions for PostgreSQL as well but I think something like this is more flexible at the moment. The one drawback is that all applications that access the db must use JDBC.