Skip to content

Commit

Permalink
feat: refactor ceramic simulations and new benchmark for V' features (#…
Browse files Browse the repository at this point in the history
…149)

* feat: initial DID user key signing prep

* feat: substantial refactor scenario creation

Most of the scenarios are very simlilar. Add a more config based approach, allowing changing whether models and keys are shared or unique. Added naming of requests to get more granular goose metrics.

* fix: move recon_sync scenario out of ceramic mod

* feat: replace model reuse scenario with config

Optionally share model instance docs across simulation

* fix: adjust local-scripts to work on more than 1 pc

* feat: support devMode with composedb postgres resources

* feat: add ceramic admin private key to sim worker/manager to use admin API

* feat: add working MID benchmark scenario

Includes some refactoring (sorry) and collecting metrics for success.
This scenario doesn't have a prom metric as easily accessible afaik, so I used redis to have the worker capture the values before/after.

* chore: clean up comments

* fix: adjust redis metric collection

sometimes hit errors like `failed to get model count: TransactionError: request canceled because throttled load test ended (sending on a closed channel)` so we use our own reqwest client instead of the goose supplied one on the user. this only happened if the `throttleRequests` value is set

---------

Co-authored-by: David Estes <dav1do@users.noreply.github.com>
  • Loading branch information
dav1do and dav1do authored Feb 21, 2024
1 parent 039e15b commit ff53def
Show file tree
Hide file tree
Showing 28 changed files with 1,599 additions and 1,322 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ __pycache__

# allow a sample network in the repo
!local-scripts/small.yaml
!local-scripts/kind.yaml
Loading

0 comments on commit ff53def

Please sign in to comment.