tikv / pd

Placement driver for TiKV
Apache License 2.0
1.03k stars 714 forks source link

Split into multi-service architecture #5766

Open rleungx opened 1 year ago

rleungx commented 1 year ago

Feature Request

Describe your feature request related problem

Currently, PD has more and more management services. As TiDB clusters are becoming larger and larger, it is increasingly important to ensure the quality of service on the PD. In most large cluster cases, the main bottleneck of PD is CPU resources, and it is difficult to effectively control and isolate the CPU resources of multiple services in the same golang program. Therefore, we need to split these services into individual ones and deploy them independently for management, which is better to control the use and isolation of resources. Also, the microservice architecture is also very suitable for the cloud environment.

Describe the feature you'd like

One of the most important services which PD provided is the TSO service. Deploy it through an independent binary will improve its QoS.

Task

PreWorks

Teachability, Documentation, Adoption, Migration Strategy

nolouch commented 1 year ago

PTAL @rleungx, The region Informer and storage interface maybe high priority, then the service can decoupling rely on the pd.Server.

seiya-annie commented 3 weeks ago

/found customer