Comments (8)
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.
@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.
@lpgauth do you have any update on this?
from marina.
@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.
@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.
@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.
This finally came back to the top of my list. Still WIP, but coming soon.
#34
from marina.
This has finally been merged 🎉
from marina.
Related Issues (7)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from marina.