apache / apache/skywalking

[Feature] [BanyanDB] Support batch query APIs

Open
#12,420 0 comments 0 reactions 1 assignee Claimed by @hanahmily View on GitHub
database feature
Dominant language
Java
Stars
25k
Forks
6.6k
Avg merge
10h 5m
Merged PRs (30d)
16

Description

### 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

In today's optimization, we face topology query performance impact due to we need to query twice respectively from `service_topo_.._client_side` and `service_topo.._server_side`.

If the database APIs could support multiple queries in one request, we could reduce the costs of network, latency and cost of file scanning.
This should be another SkyWalking specific features to improve performance without trade-off.

FYI @wankai123 As this will require OAP server side changes too.

### Use case

_No response_

### Related issues

_No response_

### Are you willing to submit a pull request to implement this on your own?

- [ ] Yes I am willing to submit a pull request on my own!

### Code of Conduct

- [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.