High Performance on a Low Budget with Gwen Shapira
ScyllaDB
770 views
26 slides
Jun 26, 2024
Slide 1 of 26
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
About This Presentation
It is one thing to solve performance challenges when you have plenty of time, money, and expertise available. Many performance experts have deep knowledge of a specific system and work on large-scale problems where investing time and effort to get a fantastic result is the norm.
But what do you do ...
It is one thing to solve performance challenges when you have plenty of time, money, and expertise available. Many performance experts have deep knowledge of a specific system and work on large-scale problems where investing time and effort to get a fantastic result is the norm.
But what do you do in the opposite situation? If you are a small startup with no time or money and still need to deliver outstanding performance? When you may have experts in parts of the stack, but performance has to be delivered across the entire application and infrastructure stack?
It may be tempting to think that as a small startup, you can just ignore performance until you scale - but your customers will soon tell you otherwise. In this talk, Gwen talks about her journey from in-depth Kafka performance to leading a small team of engineers to ship a high-performance MVP. She'll share the decisions that worked well, the mistakes made, and the tools that were worth far beyond their cost.
Size: 4.07 MB
Language: en
Added: Jun 26, 2024
Slides: 26 pages
Slide Content
High Performance, Low Budget Gwen Shapira Co-founder @ Nile
Gwen Shapira Co-founder @ Nile I used to lead the Cloud Native Kafka org at Confluent Wrote books, gave talks, have a podcast I am obsessed with performance Mostly of data systems and below but I’m also leading a scrappy startup
This talk is “sample size = 1” I share stories, lessons, tradeoffs and decisions from my experience in the last 2 years.
“ Don’t worry about performance”
Performance expectations should be part of the early product discovery process.
Is Performance a core value of your product?
Why not just “ship and see?”
Survivor Bias You only get feedback from non-representative sample of users.
Hyper-focus on User Experience
User Experience of Performance
Web vitals are all about user’s p erceived latency.
Login page Serverless compute Great dev ex, but… Your instance will be idle. A lot. CDNs Optimize app start times Provisioned compute
Dashboard Parallelized requests API improvements Cache results in browser DB tuning Moved the page 🥇
Effective Benchmarking
Benchmarks should “pay rent” by answering a question
Is our DB setup good? Typically uses a standard benchmark like TPCC Increase load over time Look for bottlenecks Fix what you can
Well? Running a standard benchmark takes time and effort. We fixed some configuration issues. We had some idea of what performance to expect. Score: ⭐️⭐️
Do we deliver good experience?
What is a good user experience? User On-boarding Anything annoyingly slow Anything your target customers obsess over
Customers obsess over things
Keep tests stupid simple
Simple test tips that helped us Include extra stupid sanity tests Check return values Actually analyze the results Score: ⭐️⭐️⭐️⭐️
Benchmark shows a request that takes 15s on avg. Why?
Prioritize fixes based on expected ROI. Parsing Lookups Real work Request Time
Have no time to optimize? At least don’t pessimize.
@gwenshap [email protected] Thank you for listening to me! Wishing you high performing applications