My company is starting to make use of Datomic. Coincidentally, we are also adding FoundationDB to our stack and we have an interest in making FoundationDB usable as a storage back-end for Datomic. FoundationDB had an SQL layer that was implemented at one point but I do not think that it has been maintained and I believe we will need to do some work to expose FoundationDB properly to Datomic.
If I was interested in implementing a new storage target for Datomic (i.e. FoundationDB), where would I begin? Does Datomic have a set of Clojure protocols or something similar that would need to be implemented or is it more like a standard JDBC driver? If it is JDBC, does it have to be a full implementation or are their specific interfaces/levels that would be sufficient to satisfy Datomic’s requirements? Any guidance would be very much appreciated.
And of course, if this has already been done, please point me toward any resources that explain how.