What are the impacts of TiDB releasing two nodes instead of deploying three nodes?

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: tidb发布双节点,没有部署三个节点有什么影响呢

| username: zqk_zqk

[TiDB Usage Environment] Production Environment / Testing / PoC
[TiDB Version]
[Reproduction Path] When deploying TiDB, due to the limited number of virtual machine servers, only two TiDB nodes were deployed. I would like to ask everyone, what impact does the number of odd and even nodes have on TiDB’s performance?
[Encountered Problem: Problem Phenomenon and Impact]
[Resource Configuration]
[Attachments: Screenshots/Logs/Monitoring]

| username: 数据小黑 | Original post link

For now, assuming you are talking about TiDB server, the number of odd or even nodes shouldn’t have any impact on performance. It’s just that the more TiDB server nodes there are, the more computing resources there are, and the better the performance. As far as I remember, the election-related operations for TiDB server are also done within PD, so it shouldn’t have any impact.

| username: tidb狂热爱好者 | Original post link

It has no impact.

| username: wakaka | Original post link

It doesn’t have much impact. Having multiple TiDB instances just means more connections and more computing nodes, but the upper layer still requires load balancing.

| username: jaybing926 | Original post link

No impact, TiDB server is a stateless service, it does not involve data and leader election. More nodes mean stronger capability.

| username: 裤衩儿飞上天 | Original post link

TiDB nodes are stateless, as long as the service is not under pressure, it is completely feasible.

| username: Hacker_nTkchcIf | Original post link

No impact. Just eat and drink as usual. One server can handle it.

| username: cs58_dba | Original post link

Based on our production experience and lessons learned, it is best to deploy the 2 virtual machines on different physical machines.

| username: tidb菜鸟一只 | Original post link

The more the better, 2 is better than 1. If one fails, your application will crash immediately. If you have two and one fails, you can still use it as usual.

| username: ohammer | Original post link

The number of nodes does not affect performance. For testing, a single node is sufficient. In a production environment, multiple nodes can be used to improve reliability.

| username: 会飞的土拨鼠 | Original post link

It doesn’t have much impact, you can deploy 3 nodes; in a production environment, you can use multiple nodes.

| username: system | Original post link

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.