High Performance on a Low Budget with Gwen Shapira

ScyllaDB 770 views 26 slides Jun 26, 2024
Slide 1
Slide 1 of 26
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21
Slide 22
22
Slide 23
23
Slide 24
24
Slide 25
25
Slide 26
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 ...


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
Tags