Skip to content

Conversation

@paulorsousa
Copy link
Collaborator

@paulorsousa paulorsousa commented May 13, 2025

No description provided.

@paulorsousa paulorsousa requested review from Copilot and fcostaoliveira and removed request for Copilot May 13, 2025 16:15
@paulorsousa paulorsousa changed the title Add memtier benchmark config with mixed SET/GET operations with short… Add memtier benchmark with mixed SET/GET operations with short exp time May 13, 2025
@fcostaoliveira fcostaoliveira added the enhancement New feature or request label May 13, 2025
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Adds a new memtier benchmark configuration for a mixed 50% SET / 50% GET workload with short expiration on a 1 M-key dataset and 400 concurrent connections.

  • Introduces a new YAML test suite file defining both preload and client workloads.
  • Specifies resource requests and Redis topologies for standalone and IO-thread variants.
  • Sets benchmark parameters (data size, expiration, pipeline, test time) and priority.

preload_tool:
run_image: redislabs/memtier_benchmark:edge
tool: memtier_benchmark
arguments: '--pipeline 100 --data-size 240 --command "SET __key__ __data__ EX 5" --command-key-pattern P -c 50 -t 2 --hide-histogram --key-minimum 1'
Copy link

Copilot AI May 13, 2025

Choose a reason for hiding this comment

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

There are two spaces between --key-minimum and 1, which may cause parsing issues. Consider removing the extra space for consistency.

Suggested change
arguments: '--pipeline 100 --data-size 240 --command "SET __key__ __data__ EX 5" --command-key-pattern P -c 50 -t 2 --hide-histogram --key-minimum 1'
arguments: '--pipeline 100 --data-size 240 --command "SET __key__ __data__ EX 5" --command-key-pattern P -c 50 -t 2 --hide-histogram --key-minimum 1'

Copilot uses AI. Check for mistakes.
clientconfig:
run_image: redislabs/memtier_benchmark:edge
tool: memtier_benchmark
arguments: --command "SET __key__ __data__ EX 5" --command "GET __key__" -c 50 -t 8 --hide-histogram --test-time 120
Copy link

Copilot AI May 13, 2025

Choose a reason for hiding this comment

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

[nitpick] The arguments field here is unquoted, unlike the dbconfig section, leading to inconsistent YAML style and potential parsing surprises. Consider quoting the entire argument string to match the other block.

Suggested change
arguments: --command "SET __key__ __data__ EX 5" --command "GET __key__" -c 50 -t 8 --hide-histogram --test-time 120
arguments: "--command \"SET __key__ __data__ EX 5\" --command \"GET __key__\" -c 50 -t 8 --hide-histogram --test-time 120"

Copilot uses AI. Check for mistakes.
@paulorsousa paulorsousa force-pushed the feat/add-testsuite-50-50-set-get-with-expiration branch from 06ea814 to 3df92c3 Compare May 13, 2025 16:24
@paulorsousa paulorsousa merged commit 2908019 into main May 13, 2025
7 checks passed
@paulorsousa paulorsousa deleted the feat/add-testsuite-50-50-set-get-with-expiration branch May 13, 2025 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants