зеркало из https://github.com/github/vitess-gh.git
ed32fa48db
The python code only uses Keyspace and Shard. That also allows me to remove KeyRange from dbconfigs, was only used to validate against the connection params. (the other one, Dbname, is used in other places). |
||
---|---|---|
config | ||
data/bootstrap | ||
go | ||
misc | ||
py | ||
test | ||
third_party | ||
.gitignore | ||
LICENSE | ||
Makefile | ||
README.markdown | ||
bootstrap.sh | ||
dev.env |
README.markdown
Vitess
Vitess is a set of servers and tools to facilitate scaling of MySQL databases for the web. It serves all of YouTube's MySQL traffic.
Development
cd $WORKSPACE
sudo apt-get install automake libtool flex bison memcached python-mysqldb # to compile MySQL
git clone git@github.com:youtube/vitess.git src/github.com/youtube/vitess
cd src/github.com/youtube/vitess
./bootstrap.sh
. ./dev.env
Optionally:
VTDATAROOT=... # $VTROOT/vt if not set
VTPORTSTART=15000
To run the tests:
make # run the tests
License
Unless otherwise noted, the vitess source files are distributed under the BSD-style license found in the LICENSE file.