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

Token-aware routing (WIP) #105

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Token-aware routing (WIP) #105

wants to merge 1 commit into from

Conversation

mpenick
Copy link
Contributor

@mpenick mpenick commented Aug 24, 2022

I started working on token-aware routing as a hobby project it's highly work-in-progress, but it's a start. This is one of three things that I think will make cql-proxy awesome for use with Apache Cassandra or any other CQL-based service as a general tool for handling various CQL routing related use cases:

With these three changes cql-proxy could be used at the edge as way to terminate traffic for Cassandra deployed on k8s or as a way to implement lightweight drivers that don't have to implement token-awareness, or connection pooling, etc. Also, having the connection to Cassandra be persistent in the proxy makes it awesome for request-based platforms e.g. PHP in Apache (the HTTP server) because connecting to the local proxy is super fast and the slow connections to C* are pooled in the proxy. This could be useful for various other scripting languages and cron-based tasks too.

It's been a joy working on cql-proxy and I might check in on it time to time, but please take good care of the project!

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

Successfully merging this pull request may close these issues.

None yet

1 participant