Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generalizing the storage backend at the Client/ClientFactory level #165

Open
agavra opened this issue Oct 12, 2023 · 0 comments
Open

Generalizing the storage backend at the Client/ClientFactory level #165

agavra opened this issue Oct 12, 2023 · 0 comments

Comments

@agavra
Copy link
Contributor

agavra commented Oct 12, 2023

Another thing that would be nice about generalizing the storage backend at the Client/ClientFactory level (ie having the CassandraClient and MongoClient implement a common client & factory interface vs branching immediately based on enums) is that we could probably throw out a lot of the gross hacks we currently put into the TTD version of the C* client, and just have a separate TTDClient and TTDClientFactory that is completely state-store agnostic.

We could even make it fully pluggable so that users could choose whether to run with the mock client or use one of the real storage backends, eg with a container setup. I think that would be pretty slick

Obviously can/should be a followup project, just thinking out loud here

Originally posted by @ableegoldman in #164 (comment)

@apurvam apurvam added security For issues and pull requests that fix security issues and removed security For issues and pull requests that fix security issues labels Dec 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants