Skip to content

Optimize FetchSchema requests#16434

Merged
Caideyipi merged 9 commits intoapache:masterfrom
luoluoyuyu:compaction-fetch-cache
Sep 19, 2025
Merged

Optimize FetchSchema requests#16434
Caideyipi merged 9 commits intoapache:masterfrom
luoluoyuyu:compaction-fetch-cache

Conversation

@luoluoyuyu
Copy link
Member

@luoluoyuyu luoluoyuyu commented Sep 18, 2025

Description

In the case of a large number of concurrent requests and cache misses, the Fetch rate after optimization is 4 times that before optimization.

Before optimization:
image

After optimization:
image


This PR has:

  • been self-reviewed.
    • concurrent read
    • concurrent write
    • concurrent read and write
  • added documentation for new or modified features or behaviors.
  • added Javadocs for most classes and all non-trivial methods.
  • added or updated version, license, or notice information
  • added comments explaining the "why" and the intent of the code wherever would not be obvious
    for an unfamiliar reader.
  • added unit tests or modified existing tests to cover new code paths, ensuring the threshold
    for code coverage.
  • added integration tests.
  • been tested in a test IoTDB cluster.

Key changed/added classes (or packages if there are too many classes) in this PR

@luoluoyuyu luoluoyuyu changed the title Optimize FetchSchema requests and Cache attribute strings Optimize FetchSchema requests Sep 18, 2025
@luoluoyuyu luoluoyuyu force-pushed the compaction-fetch-cache branch from f84447f to 642a530 Compare September 18, 2025 08:22
Copy link
Collaborator

@Caideyipi Caideyipi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Caideyipi Caideyipi merged commit dd6f958 into apache:master Sep 19, 2025
26 of 27 checks passed
@luoluoyuyu luoluoyuyu deleted the compaction-fetch-cache branch November 6, 2025 10:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants