Skip to content

Add Hot Rod protocol - #16

Open
diegolovison wants to merge 1 commit into
Hyperfoil:mainfrom
diegolovison:hotrod
Open

Add Hot Rod protocol#16
diegolovison wants to merge 1 commit into
Hyperfoil:mainfrom
diegolovison:hotrod

Conversation

@diegolovison

Copy link
Copy Markdown
Contributor

Add Hot Rod protocol

@diegolovison

Copy link
Copy Markdown
Contributor Author

@franz1981
This will allow us to.

dlovison:Hyperfoil$ jbang --fresh run@. /home/dlovison/github/Hyperfoil/Hyperfoil/hotrod/src/test/resources/scenarios/HotRodTestGet.hf.yaml
[jbang] Resolving dependencies...
[jbang]    io.hyperfoil:hyperfoil-cli:0.30-SNAPSHOT
[jbang]    io.hyperfoil:hyperfoil-all:0.30-SNAPSHOT@pom
[jbang]    io.hyperfoil:hyperfoil-api:0.30-SNAPSHOT
[jbang]    io.hyperfoil:hyperfoil-core:0.30-SNAPSHOT
[jbang]    io.hyperfoil:hyperfoil-http:0.30-SNAPSHOT
[jbang]    io.hyperfoil:hyperfoil-controller-api:0.30-SNAPSHOT
[jbang]    io.hyperfoil:hyperfoil-clustering:0.30-SNAPSHOT
[jbang]    io.hyperfoil:hyperfoil-hotrod:0.30-SNAPSHOT
[jbang] Dependencies resolved
[jbang] Resolving dependencies...
[jbang]    io.hyperfoil:hyperfoil-cli:0.30-SNAPSHOT
[jbang]    io.hyperfoil:hyperfoil-all:0.30-SNAPSHOT@pom
[jbang]    io.hyperfoil:hyperfoil-api:0.30-SNAPSHOT
[jbang]    io.hyperfoil:hyperfoil-core:0.30-SNAPSHOT
[jbang]    io.hyperfoil:hyperfoil-http:0.30-SNAPSHOT
[jbang]    io.hyperfoil:hyperfoil-controller-api:0.30-SNAPSHOT
[jbang]    io.hyperfoil:hyperfoil-clustering:0.30-SNAPSHOT
[jbang]    io.hyperfoil:hyperfoil-hotrod:0.30-SNAPSHOT
[jbang] Dependencies resolved
Loaded benchmark template hotrod-example with these parameters (with defaults): 
NAME  DEFAULT  CURRENT (CONTEXT)
PORT  11222    (not set)        
Uploading...
... done.
Started run 0001
Monitoring run 0001, benchmark hotrod-example
Started:    2026/05/08 16:14:19.133
Terminated: 2026/05/08 16:14:24.143
Run statistics persisted in the local filesystem
Total stats from run 0001
PHASE  METRIC   THROUGHPUT  REQUESTS  MEAN  STD_DEV  MAX   p50   p90   p99   p99.9  p99.99  TIMEOUTS  ERRORS  BLOCKED
main   example  0.00 req/s         7  0 ns     0 ns  0 ns  0 ns  0 ns  0 ns   0 ns    0 ns         0       7     0 ns
Skipping report generation, consider providing --output to generate it.

@diegolovison

diegolovison commented May 8, 2026

Copy link
Copy Markdown
Contributor Author

@tristantarrant
This should benefit your team once merged

How to run

jbang run@hyperfoil benchmark.yaml

benchmark.yaml

name: hotrod-benchmark
hotrod:
- uri: "hotrod://admin:admin@localhost:11222"
  caches:
  - my-cache
usersPerSec: 1
duration: 5s
scenario:
- example:
  - randomInt: cacheKey <- 1 .. 999
  - hotrodRequest:
      get: my-cache
      key: ${cacheKey}

@franz1981

Copy link
Copy Markdown
Contributor

That's a great idea 💡

@tristantarrant

Copy link
Copy Markdown

@jabolina ^

@jabolina

Copy link
Copy Markdown

Very nice, thanks @diegolovison!

@diegolovison

Copy link
Copy Markdown
Contributor Author

@franz1981 let's keep this open until the next release.

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.

4 participants