Details
Description
The dax_apdb branch that I used for Cassandra development diverged significantly from the master branch. We need to start merging that branch to provide Cassandra support and hopefully allow AP pipeline to use actual Cassandra service (when it goes live at SLAC). These are very big changes and it will not be possible to make it backward compatible so we need to update client side as well. The changes include:
- how do we configure each implementation, obviously Cassandra configuration is going to be different from sqlalchemy
- because of how Cassandra partitioning works we need to change API for storing/retrieving all data, but first we need to figure out what is the best API for clients
This ticket is going to cover all aspects, I'll start filling details of these changes in comments so that we can have a productive discussion. Please add anyone who you think should be involved to watchers.
Attachments
Issue Links
- is blocked by
-
RFC-798 Add cassandra-driver to conda rubin-env
- Implemented
And just a heads up for possible future discussion about APDB interface - the countUnassociatedObjects() method may be super inefficient in Casssandra. I'll think about it later when I start working on that implementation, but be prepared for that discussion