quickwit-oss / quickwit

Cloud-native search engine for observability. An open-source alternative to Datadog, Elasticsearch, Loki, and Tempo.
https://quickwit.io
Other
7.31k stars 298 forks source link

Cloning `IngestRouter` and `Ingester` is not cheap #5114

Closed guilload closed 1 month ago

guilload commented 1 month ago

Showed up during profiling. This is not surprising since those objects are quite complex and composed of also not so cheap to clone objects (ControlPlaneServiceTowerServiceStack). struct Foo { inner: Arc<InnerFoo> } is probably the way to go.

guilload commented 1 month ago

Closed via #5116.