Giter VIP home page Giter VIP logo

Comments (8)

lpgauth avatar lpgauth commented on August 25, 2024 2

Hi,
I finally got around implementing a proper pooling strategy for marina. It will now first connect to a bootstrap node to lookup the system.peers table. From that table we gather all peers and open connections to all of them. You can filter nodes by providing filter_dc. Currently, the only mode supported is random picking, I plan to eventually add token-aware picking.

PR: #30

Cheers,
LP

from marina.

weixiyen avatar weixiyen commented on August 25, 2024

@lpgauth noticed you had token aware load balancing on the roadmap. Is that going to be open sourced in the future?

In your production setup right now, how are you currently handling spreading the requests to multiple nodes in production to avoid overloading a single coordinator node?

DNS or some other load balancing software?

thanks in advance!

from marina.

unbalancedparentheses avatar unbalancedparentheses commented on August 25, 2024

@lpgauth do you have any update on this?

from marina.

lpgauth avatar lpgauth commented on August 25, 2024

@unbalancedparentheses hey, haven't had much time to play with this as we're moving from C* to ScyllaDB and I didn't want to change too many variables at once. Last time I checked the only remaining issue was to fix the prepared statement cache.

from marina.

unbalancedparentheses avatar unbalancedparentheses commented on August 25, 2024

@lpgauth so if we don't use prepared statements it should be working fine, right? we are moving away from cqerl because it keeps on trying to connect to dead cassandra nodes of a cluster, it doesn't backlist the dead cassandra nodes until they get online.

from marina.

lpgauth avatar lpgauth commented on August 25, 2024

@unbalancedparentheses yes, it should, but it's only been testing on one node in production for maybe a week so there might be other bugs.

from marina.

lpgauth avatar lpgauth commented on August 25, 2024

This finally came back to the top of my list. Still WIP, but coming soon.
#34

from marina.

lpgauth avatar lpgauth commented on August 25, 2024

This has finally been merged 🎉

from marina.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.