vitess

command module
v2.1.0-alpha.1+incompa... Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 8, 2016 License: BSD-3-Clause Imports: 20 Imported by: 0

README

Build Status codebeat badge Go Report Card

Vitess

Vitess is a database clustering system for horizontal scaling of MySQL through generalized sharding.

By encapsulating shard-routing logic, Vitess allows application code and database queries to remain agnostic to the distribution of data onto multiple shards. With Vitess, you can even split and merge shards as your needs grow, with an atomic cutover step that takes only a few seconds.

Vitess has been a core component of YouTube's database infrastructure since 2011, and has grown to encompass tens of thousands of MySQL nodes.

For more about Vitess, please visit vitess.io.

Contact

Ask questions in the vitess@googlegroups.com discussion forum or on Gitter.

Subscribe to vitess-announce@googlegroups.com or the Vitess Blog for low-frequency updates like new features and releases.

License

Unless otherwise noted, the Vitess source files are distributed under the BSD-style license found in the LICENSE file.

Documentation

Overview

test.go is a "Go script" for running Vitess tests. It runs each test in its own Docker container for hermeticity and (potentially) parallelism. If a test fails, this script will save the output in _test/ and continue with other tests.

Before using it, you should have Docker 1.5+ installed, and have your user in the group that lets you run the docker command without sudo. The first time you run against a given flavor, it may take some time for the corresponding bootstrap image (vitess/bootstrap:<flavor>) to be downloaded.

It is meant to be run from the Vitess root, like so:

~/src/github.com/youtube/vitess$ go run test.go [args]

For a list of options, run:

$ go run test.go --help

Directories

Path Synopsis
docker
examples
go
statsd is a simple server for hosting test.go remote stats.
statsd is a simple server for hosting test.go remote stats.
The sole purpose of this file is to print the configured value of GOMAXPROCS.
The sole purpose of this file is to print the configured value of GOMAXPROCS.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL