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

Go:Fix benchmarking code and improve response side performance #2288

Merged
merged 1 commit into from
Sep 16, 2024

Conversation

janhavigupta007
Copy link
Collaborator

  • The latency numbers for get_existing were off because initially it was not always fetching the existing keys. This PR fixes the same.
  • For the response side optimisation, copying of Value received from server to Rust vec is avoided and the pointer is passed directly to Go.

Benchmarking command:

go run . -resultsFile gobenchmarks.json -dataSize "100 1000 10000" -concurrentTasks "10" -clients all -host localhost -port 6379 -clientCount "1"

@asafpamzn asafpamzn added the go golang wrapper label Sep 15, 2024
Copy link
Collaborator

@asafpamzn asafpamzn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good,

Thanks

Signed-off-by: Janhavi Gupta <janhavigupta@google.com>
@janhavigupta007 janhavigupta007 merged commit 44174a3 into valkey-io:main Sep 16, 2024
13 checks passed
acarbonetto pushed a commit to Bit-Quill/valkey-glide that referenced this pull request Sep 18, 2024
…y-io#2288)

Signed-off-by: Janhavi Gupta <janhavigupta@google.com>
shohamazon pushed a commit to shohamazon/glide-for-redis that referenced this pull request Sep 22, 2024
…y-io#2288)

Signed-off-by: Janhavi Gupta <janhavigupta@google.com>
ikolomi pushed a commit that referenced this pull request Sep 23, 2024
Signed-off-by: Janhavi Gupta <janhavigupta@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
go golang wrapper
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants