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

Restructure and rewrite Scenarios section #808

Open
MattDodsonEnglish opened this issue Sep 14, 2022 · 7 comments
Open

Restructure and rewrite Scenarios section #808

MattDodsonEnglish opened this issue Sep 14, 2022 · 7 comments
Assignees
Labels
Area: OSS Content Improvements or additions to community/oss documentation Tech Writers Issues that a writer could help with Type: needsMaintainerHelp Good issue for k6 maintainers

Comments

@MattDodsonEnglish
Copy link
Contributor

MattDodsonEnglish commented Sep 14, 2022

Scenarios are among the most important parts of the k6 API. But, frequent user questions and doubts about configuring them show that the docs could be confused. Subjectively, I can say that I find them confusing. I still need to read the docs for each executor carefully to figure out what workload to use.

Some preliminary issues:

  • What's a "workhouse?" Let's reduce metaphorical language and be precise about what we mean.
  • Similarly, what's a "workload?" We probably need to define that.
  • "When to use" is buried in the topic for each executor. Let's move that to the top page.
  • On the top page, a visual comparison of each workload would be nice, perhaps in a small mutiple.
  • Perhaps a flow chart would help users choose an executor.

Sequence to solve this issue:

    • Read and edit workload modules in k6 learn.
    • Read through and copy edit docs
    • Restructure as necessary
    • Add content as necessary

Relevant links

@MattDodsonEnglish MattDodsonEnglish added Area: OSS Content Improvements or additions to community/oss documentation Tech Writers Issues that a writer could help with labels Sep 14, 2022
@MattDodsonEnglish MattDodsonEnglish self-assigned this Sep 14, 2022
@na--
Copy link
Member

na-- commented Sep 15, 2022

"workhorse", not "workhouse" 😂 But yeah, I agree the docs can be improved a ton here. One suggestion I have is to add a use-case based table with "if you want to do X, you should use executor Y in your scenario".

@MattDodsonEnglish
Copy link
Contributor Author

MattDodsonEnglish commented Sep 29, 2022

I was going to post about metioning the coordinated omission problem, but there's already an issue:

#231 (comment)

Besides the forum post, it got brought up in discussion about a blog that used k6 to bench mark load balancers:
https://news.ycombinator.com/item?id=32867684

Really, to fix this, we could just stick the term somewhere in https://k6.io/docs/using-k6/scenarios/arrival-rate/. That would help googlers.

@MattDodsonEnglish
Copy link
Contributor Author

This Office Hours has some good discussion on the different use cases for each scenario:
https://www.youtube.com/watch?v=ypli_y3UryU

@MattDodsonEnglish
Copy link
Contributor Author

Related: #615

MattDodsonEnglish added a commit that referenced this issue Dec 5, 2022
- Use bulleted description list to list benefits
- Summarize executors instead of duplicating table
- Add two scenarios to example, to show it's possible
- Hide full log output
- shorten options slug, and fix all references

Early work for #808
MattDodsonEnglish added a commit that referenced this issue Dec 6, 2022
* scenarios, rework top-level page

- Use bulleted description list to list benefits
- Summarize executors instead of duplicating table
- Add two scenarios to example, to show it's possible
- Hide full log output
- shorten options slug, and fix all references

Early work for #808

Co-authored-by: Paul Balogh <javaducky@gmail.com>
@MattDodsonEnglish MattDodsonEnglish added the Type: needsMaintainerHelp Good issue for k6 maintainers label Dec 21, 2022
MattDodsonEnglish added a commit that referenced this issue Jan 16, 2023
- Make new About section to explain
- And pages for dropped iterations and VU allocation
- Move other explanatory topics to about
- Scenarios, rename arrival rate as open vs closed
- Scenarios, clean up the list pages
- Add note arrival rate pacing

Part of work with #808 

Co-authored-by: na-- <n@andreev.sh>
@immavalls
Copy link
Contributor

This forum topic is relevant: https://community.k6.io/t/about-the-number-of-users-in-the-stress-test-documentation/6131/3 I believe it shows our scenario docs and https://k6.io/docs/test-types/stress-testing/#api-stress-test-in-k6 can still be a bit confusing.

MattDodsonEnglish added a commit that referenced this issue May 23, 2023
- Better description with less metaphor
- Example
Part of #808
@MattDodsonEnglish
Copy link
Contributor Author

MattDodsonEnglish commented May 23, 2023

Commits 7718690...83c23cb

all worked on simplifying executor comments and language

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: OSS Content Improvements or additions to community/oss documentation Tech Writers Issues that a writer could help with Type: needsMaintainerHelp Good issue for k6 maintainers
Projects
None yet
Development

No branches or pull requests

3 participants