chaosxu / nerv Goto Github PK
View Code? Open in Web Editor NEWA new wheel for build PaaS
License: Apache License 2.0
A new wheel for build PaaS
License: Apache License 2.0
Q:如果我加入,最想做的是啥?
A:容器,想更加深入学习容器相关知识
基于MySQL LB 拓扑 实现scale out|in
scale out :nerv-cli topo scaleout -i {topoId} -h {host_node_name},{new_ip_list}
scale in or dynamic out:nerv-cli topo scale -i {topoId} -h {host_node_name},{counts}
拓扑如下:
+------------+ +------------+
| lvs master | | lvs backup |
+------------+ +------------+
+--------------+ +--------------+
| mysql proxy | | mysql proxy | ...... N台
+--------------+ +--------------+
+--------------+ +--------------+
| mysql | | mysql | ...... N台,每2台主备
+--------------+ +--------------+
例如 缩容: 首先,给10台mysql安装缩容软件,配置好,跑起来。然后观察各mysql的复制进度,到一定程度(进度大致匹配,延迟小于某个阈值),锁住LVS(或者通知上层Route) 这样应用不会有流量写到各mysql, 然后等待各mysql的复制完毕,停止复制,通知LVS更改IP列表(原来10台可用的mysql地址改成缩容后的一台或两台)。缩容结束。
The tree component lost the focus after a file, so the activeNodes is empty.
const parent = this.tree.treeModel.activeNodes[0].parent.data;
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.