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

Add ScyllaDB driver extensions #190

Closed
dorlaor opened this issue Oct 24, 2020 · 3 comments
Closed

Add ScyllaDB driver extensions #190

dorlaor opened this issue Oct 24, 2020 · 3 comments

Comments

@dorlaor
Copy link

dorlaor commented Oct 24, 2020

Scylla enhances the CQL protocol with these two capabilities:

  • Cache hint
    Simply flag a query to BYPASS the cache. This way queries that
    just scan do not need to be kept in the database cache. That's trivial
    to implement

  • Shard awareness
    Scylla provides per-core topology information, this way the driver can
    send the query to the core that handles the range. It improves load balancing
    and reduces a shard hop. It's implemented by Python, Java, go, C++ drivers.

@whatyouhide
Copy link
Owner

Hey @dorlaor, thanks for the report! Those features sound great but @lexmag and I have no bandwidth right now to work on anything here. If you have consistent time to work on this and would be able to drive it to conclusion, I'd be happy to provide support, but otherwise we won't get these in for the time being :(

@dorlaor
Copy link
Author

dorlaor commented Nov 2, 2020

Once we'll have an Elixir fan in the neighborhood we'll point him/her towards this, sure

@whatyouhide
Copy link
Owner

BYPASS CACHE is a CQL-level functionality, so it requires no changes to the driver. I added a test to make sure we support it in e7c9143.

As for shard awareness, I opened #324 to track it. Closing this down then!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants