hanahmily opened a new issue, #10892: URL: https://github.com/apache/skywalking/issues/10892
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/skywalking/issues?q=is%3Aissue) and found no similar feature requirement. ### Description ## Problem The `measure` and `stream` modules make use of schema change events and rely on a Go channel for caching. However, this approach may not be the most effective in a distributed deployment scenario. It's important to consider alternative methods for caching in order to optimize performance and ensure seamless operation across multiple nodes. ## Solution To watch changes in the schema, BanyanDB should use the [etcd watch API](https://etcd.io/docs/v3.5/learning/api/#watch-api). This API allows for efficient monitoring of changes to the database schema, notifying schema-based modules when changes occur. This tweak makes it easier for relevant modules to maintain schema cache, ensuring their data remains up-to-date and accurate in a distributed scenario. ### Use case _No response_ ### Related issues _No response_ ### Are you willing to submit a PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
