You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

47 lines
1.3 KiB

  1. # Scenario Definition for EshopOnContainers
  2. To use the simulation framework for microservices you have
  3. to specify a scenario/workload using json (configuration) files.
  4. The configuration files consist of:
  5. - operations: a HTTP request
  6. - transactions: multiple operations sequentially chained together
  7. - scenario: specifies which transactions are run and other workload
  8. configuration like distribution, arguments the transaction should use etc.
  9. The scenario should simulate a workload the microservice application would
  10. experience during a given timespan in production.
  11. ## Scenario for eshopOnContainers
  12. Arguments and Dynamic Variables for Transactions:
  13. - userId
  14. - productId
  15. Transactions:
  16. - Customer reads items, adds item to basket, checkouts basket
  17. - Customer adds item to basket, removes again, logs out
  18. - Price update transaction
  19. - Stock replenished for catalog item
  20. - Catalog item is removed
  21. - create Order draft
  22. - Order cancel
  23. Workload configuration:
  24. - dataskew on catalog items (distribution of which items are accessed/bought)
  25. - distribution between different transactions
  26. - how many concurrent transactions
  27. - how many total transactions to be executed
  28. ## Realistic Scenario Description for eShop
  29. Run multiple benchmarks / experiments with varying factor.
  30. Customer buys items