Closed nascentcore-eng closed 1 year ago
DB file is stored pv, persistent volume, which is backed by remote storage.
Need to reproduce on a kubernetes cluster. Just running API server is not going to reproduce this.
csi driver has limit iops, maybe this slow query .
SQLite don't support list/watch as etcd, the following code will loop too quickly:
https://github.com/tricorder-observability/starship/blob/main/src/api-server/grpc/deployer.go#L52
So I think we could slower it manually.
We have chatted yesterday, and decided that we'd want to create a channel between API server's http component and gRPC component.
Just deploy Starship and check API server's log