square / grange-server Goto Github PK
View Code? Open in Web Editor NEWLicense: Other
License: Other
From the clusters data in this repo
When server starts.
WARN [2016-01-20 13:28:17.552] Could not parse query: %!!(MISSING)s(bool=false)
Queries
$ erg %dc2-mysql:KEYS
ALL,CLUSTER,DOC,DOWN,EXTRA,PORT,TYPE,UP
$ erg %dc2-mysql:UP
Error: Could not parse query: %!s(bool=false)
Lot of us who use range have instances running in Amazon AWS where the node list is not static due the auto-scaling property of AMZ. IMHO we can solve this in following ways
(1) is not an option because it won't scale. Problem with (2) is, if we use version control to version the changes in YAML file, we might run into race conditions where the final YAML files cannot be merged.
(3) seems to be better because users can write their on functions to generate content on fly without the need of editing YAML file. Down side for this is, a slow user defined function will make the end point drag. (udf could be a REST call to make interaction easy).
key1:
- udf(fn(someargs))
where udf
is a keyword to let the system know we are looking for at an user defined function, fn
could be the function name with someargs
as the argument passed to the function (or fn
could be a REST endpoint using someargs
as its GET param)
I am willing to write a patch if you are interested. Please feel to close the issue if you think it is not in the scope :-)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.