Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rfc: Official recommended topologies and configurations to use TiDB #111

Merged
merged 5 commits into from
Dec 12, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions rfc/2019-11-30-recommand-tidb-configure.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Proposal: Official recommended topologies and configurations to use TiDB

- Author(s): ET-Team
- Last updated: Nov 30, 2019

## Abstract

When users need to use TiDB as their database, they often face what machine configuration and topology to choose. At present, we do not give an official answer, which may cause users to be troubled, what kind of The configuration is to meet the current needs. This proposal is mainly to solve the user's selection problem.

## Background

Recommending configurations to users is a relatively standard practice for major public cloud vendors. When AWS recommends EC2 to users, it will give some standard instance types. As an open source database, according to the user's characteristic needs give different topologies and database configuration and machine configuration will greatly help users to choose and better use TiDB

zz-jason marked this conversation as resolved.
Show resolved Hide resolved
## Proposal

This proposal wants to achieve the following goals to make TiDB better provide database services to everyone

1. Find a more common database configuration of TiDB under some fixed topology, machine type and machine configuration
2. Measure the corresponding benchmark value in the above environment
3. Update the benchmark value to the official website and give reasonable user suggestions

## Rationale

Use sysbench to benchmark the corresponding topology and tune the TiDB parameters during the benchmarking process。

## Implementation

1. Define several standard topologies
2. Define several machine types(amd/arm/power)
3. Define several standard machine configurations(1c/2c/4c/etc.)
4. Under the above structure, type, and configuration, determine the benchmark value corresponding to TiDB, and give some configuration suggestions for TiDB
5. Add the official website page of the recommended configuration to list the existing benchmark values
1 change: 1 addition & 0 deletions rfc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ See [TiKV RFCs](https://github.com/tikv/rfcs) for details.
## Other RFCs

- [Run Discourse on TiDB](https://github.com/pingcap/community/rfc/2019-11-28-discourse-on-tidb.md)
- [Official recommended topologies and configurations to use TiDB](https://github.com/pingcap/community/rfc/2019-11-30-recommand-tidb-configure.md)