# Using executors and stages in k6 with Théo Crevon (k6 Office Hours #40) <iframe width="560" height="315" src="https://www.youtube.com/embed/wj3KjJth1SU" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> ## Thumbnail ![[kOH 40 - Théo.png]] ## Title ## What value do viewers get? ## Hook ## Intro ## Structure - Introduction to Théo - About Théo - He considers himself a polymath-- me too! - He studied Literature and Philosophy before he got bitten by the bug for computer languages - He thinks intuition plays a large part even in software engineering - He loves Celeste because it puts him into a flow state - Joining k6 - Why and when did he join k6? - First impressions of k6? - What team are you on, and what is the team responsible for? - What has he been working on since he joined? - Scheduling - What is scheduling? - Ways to schedule in k6 - Executors - Stages - Scenarios - Changing schedules during runtime - Quick demo (Nicole) - Why are schedules important? (Load profiles) - How does scheduling actually work in k6, under the hood? - Why is scheduling hard to implement? - Intermittent flakiness - Why does this happen? - hardware-dependent: something that works on a large machine may not work on a smaller machine - How can we more reliably and efficiently parse some of our configuration data (thresholds)? - What are thresholds? (quick demo by Nicole) - Why are thresholds so important? - What are some issues in parsing thresholds? - Large binary files in k6 - What's the use case for this? - What's the current implementation? - `ArrayBuffer` for binary data since v0.31 - What are the limits of the current implementation? - What approaches are you considering for solving this? - Wrapping up - I know that you are a very intuitive person, which is a rare quality in a software engineer. How do you use your intuition in such a technical field? Do you have any tips for how to hone that intuition, for others who might want to do the same? - Théo is going to be doing a k6 webinar for Grafana-- in French! We'll announce it here and on our socials when it's ready. - Leandro and I are going to be speaking at Automation Guild next week. José ## Outro ## Related videos and resources Automation Guild 2022: https://guildconferences.com/ag-2022/ ## Pre-production - [ ] Take a thumbnail photo and create one for YouTube (1280 x 720). - [ ] Add description. - [ ] Include the title and any keywords in the first few sentences, but in a natural way. - [ ] Add related videos and resources as links. - [ ] Add end screen. - [ ] Add cards if necessary. - [ ] Add video to relevant playlist(s), or create a playlist if necessary. - [ ] Create captions using Descript or using the script, then edit them. - [ ] (For k6 videos) Send Floor thumbnail and video link for promotion. - [ ] Add chapters for YouTube if longer than 5 minutes. - [ ] Schedule on YouTube. ## Post-production - [ ] Promote on personal social media. - [ ] Twitter - [ ] LinkedIn - [ ] Create a blog post on [nicolevdh.com](http://nicolevdh.com) - [ ] Include in a weekly newsletter. - [ ] What other documentation can be created from this?