lihangyu
ab8125d56f
[Improve](performance) introduce SchemaCache to cache TabletSchame & Schema ( #20037 )
...
* [Improve](performance) introduce SchemaCache to cache TabletSchame & Schema
1. When the system is under high-concurrency load with wide table point queries, the frequent memory allocation and deallocation of Schema become evident system bottlenecks. Additionally, the initialization of TabletSchema and Schema also becomes a CPU hotspot.Therefore, the introduction of a SchemaCache is implemented to cache these resources for reuse.
2. Make some variables wrapped with std::unique<unique_ptr>
Performance:
| 状态 | QPS | 平均响应时间 (avg) | P99 响应时间 |
|------------------|-----|------------------|-------------|
| 开启 SchemaCache | 501 | 20ms | 34ms |
| 关闭 SchemaCache | 321 | 31ms | 61ms |
* handle schema change with schema version
* remove useless header
* rebase
2023-05-29 17:34:53 +08:00
..
2023-04-19 23:11:48 +08:00
2023-05-26 14:50:12 +08:00
2023-05-29 14:42:47 +08:00
2023-05-26 23:40:49 +08:00
2023-05-26 14:50:12 +08:00
2023-04-20 18:59:08 +08:00
2023-04-19 23:11:48 +08:00
2023-04-19 23:11:48 +08:00
2023-04-19 23:11:48 +08:00
2023-04-23 15:07:28 +08:00
2023-04-19 23:11:48 +08:00
2023-04-19 23:11:48 +08:00
2023-04-19 23:11:48 +08:00
2023-05-08 19:51:06 +08:00
2023-04-19 23:11:48 +08:00
2023-04-19 23:11:48 +08:00
2023-04-19 23:11:48 +08:00
2023-05-17 09:32:03 +08:00
2023-04-19 23:11:48 +08:00
2023-05-06 11:30:13 +08:00
2023-04-19 23:11:48 +08:00
2023-05-16 13:21:58 +08:00
2023-05-16 13:21:58 +08:00
2023-05-29 17:34:53 +08:00
2023-04-19 23:11:48 +08:00
2023-04-25 14:33:47 +08:00
2022-12-08 14:52:52 +08:00
2023-04-19 23:11:48 +08:00
2023-04-19 23:11:48 +08:00
2023-04-19 23:11:48 +08:00
2023-05-29 11:47:31 +08:00
2023-04-19 23:11:48 +08:00
2023-05-25 09:58:31 +08:00
2023-04-26 21:01:20 +08:00
2023-04-19 23:11:48 +08:00
2023-04-19 23:11:48 +08:00
2023-04-26 15:10:12 +08:00
2023-04-19 23:11:48 +08:00
2023-04-19 23:11:48 +08:00
2023-05-29 14:42:47 +08:00
2023-05-14 16:09:55 +08:00
2023-05-29 09:54:03 +08:00
2023-05-29 09:54:03 +08:00
2023-04-19 23:11:48 +08:00
2023-04-19 23:11:48 +08:00
2023-02-10 11:00:33 +08:00
2023-04-19 23:11:48 +08:00
2023-04-19 23:11:48 +08:00
2023-04-19 23:11:48 +08:00
2023-05-19 08:46:50 +08:00
2023-05-17 19:04:52 +08:00
2023-05-06 11:30:13 +08:00
2023-05-09 21:42:21 +08:00
2023-05-26 14:50:12 +08:00
2023-04-19 23:11:48 +08:00
2023-04-19 23:11:48 +08:00
2023-03-19 14:05:02 +08:00
2023-04-19 23:11:48 +08:00
2023-04-19 23:11:48 +08:00
2023-04-19 23:11:48 +08:00
2023-04-19 23:11:48 +08:00
2023-04-19 23:11:48 +08:00
2023-04-19 23:11:48 +08:00
2020-05-25 21:24:56 +08:00
2023-05-29 14:42:47 +08:00
2023-04-26 21:01:20 +08:00
2023-04-26 21:01:20 +08:00
2023-04-27 14:07:57 +08:00
2023-04-19 23:11:48 +08:00
2023-05-22 00:32:20 +08:00
2023-05-26 15:11:17 +08:00
2023-04-19 23:11:48 +08:00
2023-04-19 23:11:48 +08:00
2023-04-19 23:11:48 +08:00
2023-04-19 23:11:48 +08:00
2023-04-10 10:56:07 +08:00
2023-02-10 11:00:33 +08:00
2023-04-19 23:11:48 +08:00
2023-05-29 09:54:03 +08:00
2023-05-29 09:54:03 +08:00
2023-05-24 11:08:48 +08:00
2023-05-24 11:08:48 +08:00
2023-04-19 23:11:48 +08:00
2023-04-19 23:11:48 +08:00
2023-05-26 21:35:21 +08:00
2023-05-19 14:10:29 +08:00
2023-05-29 13:07:29 +08:00
2023-04-22 10:15:51 +08:00
2023-04-22 10:15:51 +08:00