Skip to content

bglasber/chronocache_driver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chronocache_driver

This repository contains the source code for a prototype JDBC driver for the ChronoCache system. The ChronoCache system itself uses a REST interface that simplifies development --- this JDBC driver merely translates a subset of JDBC calls to REST calls to interact with ChronoCache. As many systems use JDBC to interact with a database, this enables easier integration with ChronoCache. Note, however, that the experiment results in the paper were obtained by using the REST interface directly.

Note that both ChronoCache and this driver are research prototypes. You may extend them to support functionality as you wish, and you will likely have to if you want to use them in production.

Using this Driver

After compiling the driver using: mvn package copy the uberjar for this driver into the lib directory of the application you wish to use it with. Set the CLASSPATH accordingly.

You can use the standard Class.forName("org.bjglasbe.ChronoCacheDriver") syntax as usual to load the driver. The JDBC URL looks like: jdbc:cc://hostname:port. Note that you will need to configure ChronoCache itself to interact with the remote database.

Integrating with benchmarks

The oltpbench_ycsb changes provide a proof of concept of how to integrate an OLTPBench workload with ChronoCache. Similar ideas may be used to integrate other benchmarks.

Driver License

BSD-3

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages