Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clone a single Arc when cloning code-generated services #5116

Merged
merged 1 commit into from
Jun 13, 2024

Conversation

guilload
Copy link
Member

Description

The code-generated service traits no longer require the implementations to be Clone and no longer use mutable methods. This is very similar to what is done in tonic. Stateful services must be implemented as actors (control plane) or use interior mutability (file-backed metastore, ingester, etc.).

How was this PR tested?

It compiles!

Copy link

On SSD:

Average search latency is 1.0x that of the reference (lower is better).
Ref run id: 2059, ref commit: f8994df
Link

On GCS:

Average search latency is 0.948x that of the reference (lower is better).
Ref run id: 2061, ref commit: f8994df
Link

@fulmicoton fulmicoton merged commit 0c82c9d into main Jun 13, 2024
5 checks passed
@fulmicoton fulmicoton deleted the guilload/clone-clone-clone branch June 13, 2024 04: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.

2 participants