forked from speedshop/speedshop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrails-performance-workshop.html
350 lines (301 loc) · 16.6 KB
/
rails-performance-workshop.html
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
---
layout: default
title: The Rails Performance Workshop
summary: "Make your Rails application faster and more scalable with this interactive workshop from Puma maintainer Nate Berkopec"
---
<script src="https://js.stripe.com/v3/"></script>
<header class="fancy-ruby" style="padding-top:4rem">
<div class="container container-narrow">
<div class="row" style="margin-bottom:6rem">
<div class="column column-20">
{% include speedshop_wordmark.svg %}
</div>
</div>
<div class="row">
<div class="column" style="text-align: center">
<h1>
The Rails Performance Workshop
</h1>
<p>Got a slow Rails app? Not anymore. Join the hundreds that have taken this four-week bootcamp and made their Rails applications fast and scalable.</p>
</div>
</div>
</div>
</header>
<main>
<div class="container container-narrow">
<div class="row">
<div class="column">
<h3>Rails Apps Don't Have To Be Slow</h3>
<p>
How did your Rails app get so slow? It didn't start that way. Your app started as a lean, mean web machine. Customers are complaining. The Redis server is on fire, and the database ran out of memory last week.
</p>
<p>
Or maybe you're worried about the future. Things are OK now, but what happens when that big client you signed turns on their service? Are you prepared for the traffic they're going to send your way, or are your servers going to crumble?
</p>
<p>
Do you wish you had more money and time to spend on other parts of your application? Does looking at your New Relic dashboard or your AWS bill give you the chills?
</p>
</div>
</div>
<div class="sales-testimonials">
<div class="row">
<div class="column">
<p>
"Nate quickly helped us identify key bottlenecks in our application's infrastructure, as well as lay out a roadmap of future improvements to keep us scaling well past our engagement. His Rails Performance Workshop set our engineering team up with the knowledge and tools to move from reacting to performance problems to proactively preventing them with Rails best practices and a profiling-based, data-driven mindset."
<br> - Joe Burns, TeePublic
</p>
</div>
</div>
</div>
<div class="row">
<div class="column">
<h3>A Step-By-Step Performance Training and Sprint</h3>
<p>
Let's introduce the <b>Rails Performance Workshop</b>. The workshop is a training program and guided roadmap for faster Rails apps that's been used by more than a hundred organizations.
</p>
<p>
The Rails Performance Workshop is <b>a combination of training and a performance improvement plan</b>. Using the Workshop, your team will improve your Rails app's performance as you learn the concepts taught within.
</p>
<p>
The Rails Performance Workshop is a combination of video, hands-on exercises, specific instructions and a guided plan for improving your own app, and a community of experienced Rails practicioners. Over about 4 weeks, you'll go from A to Z on how to make a Rails application faster for your customers and cost less to scale.
</p>
<img src="/assets/img/videoexample.jpg">
<p>
Here's just some of the things you and your team will not only learn how to do, but apply during the Workshop:
</p>
<ul>
<ul>
<li>Lower your response times to 200 milliseconds or less.</li>
<li>Reduce how much you're spending on deployment, by as much as half.</li>
<li>Build a clear plan to scale for the next 12 months.</li>
<li>Apply the three-step "DRM" method to solve 80% of Rails performance issues quickly and simply.</li>
<li>Practice a simple, repeatable performance process to diagnose and solve any issue. No genius required.</li>
<li>Fix any N+1 scenario, even the weird ones that go 12 stack levels deep that you've never been able to figure out.</li>
<li>Set targets and performance budgets within your organization that make sense for you and your customers.</li>
<li>Learn how to diagnose performance issues anywhere in the stack: DB, Ruby itself, the browser, and more.</li>
<li>Understand what "breaks" simple preload/eager_load schemes and how to get around it.</li>
<li>Scale services mathematically without load testing.</li>
<li>Decipher metrics on services like NewRelic and Scout.</li>
<li>... and a whole lot more.</li>
</ul>
</ul>
</div>
</div>
<div class="row" style="padding-bottom:4rem">
<div class="column card">
<h4>A unique format</h4>
<p>Delivered via the CLI, this workshop delivers 6 hours of video content, 10 hands-on exercises, and a full "guided sprint program" for making your app faster.</p>
</div>
<div class="column card">
<h4>Attended by hundreds</h4>
<p>Taken by hundreds of individuals and dozens of companies in its previous formats.</p>
</div>
</div>
<div class="row">
<div class="column">
<h3>Learn to Scale Your App in 4 Weeks</h3>
<p>
Modern platforms, like Heroku and AWS, have made it easier than ever to scale: just add more instances! But no one ever tells you how many, or how to scale them efficiently and correctly. This can cost you tens or even hundreds of thousands of dollars per year.
</p>
<p>
This workshop uses basic queueing theory to show you how to scale anything: your Rails app, your database, your load balancing. Fundamentally, all of these systems work the same way, and the workshop can show you how to scale each one.
</p>
<p>
The workshop also covers the specifics of scaling Rails, like database pools and concurrency settings. Incorrect database pool settings can bring your application to a complete standstill. Settings thread counts incorrectly can invalidate your metrics and double response times. We'll show you how to deal with all of it.
</p>
<div class="sales-testimonials">
<div class="row">
<div class="column">
<p>"If you haven’t checked Nate Berkopec's training, books and tutorials yet, then I highly recommend him as an expert resource with an organized set of performance diagnostics tools. His workshop <b>shaved $7,000/year off our Heroku bills</b> with one change." <br> - Ken Mayer</p>
</div>
</div>
<div class="row">
<div class="column">
<p>
"After training from Nate and a concerted effort from a few engineers, we had <b>performance improvements of 10-50% on key flows.</b>” <br> - Rory O’Connell, Grand Rounds
</p>
</div>
<div class="column">
<p>
"I have <b>a bunch of pull requests that came out of the workshop.</b> I have more tools in my toolset that I could use for future consulting projects." <br> - Ernesto Tagwerker, Ombu Labs
</p>
</div>
</div>
</div>
<h3>A Proven Process Used By Hundreds</h3>
<p>
The Workshop is self-guided and can be done at your own pace. We suggest that it takes either about 5 days of full-time work to complete, or 4-6 weeks of "20% time", working on it one day every week.
</p>
<p>
The Rails Performance Workshop is meant for developers with Rails experience of a year or more. Although the course is aimed at Ruby and Rails, we've had many companies send front-end engineers and even engineers from other language stacks through the workshop, and they've also found it very valuable.
</p>
<p>
The Rails Performance Workshop started 2 years ago as an in-person, one-day event. However, over the years, after dozens of companies and hundreds of individuals have participated in various formats, we learned that a 4-week remote-only format, centered around video and hands-on exercises, was the most effective way for developers to learn.
</p>
<p>
Attendees of the Rails Performance Workshop have <b>reduced server bills by tens of thousands of dollars</b>, sped up critical endpoints by over 50%, solved bugs and N+1 issues that evaded them for years, and built critical capacity in their engineering teams.
</p>
<p>
The entire course is taught by Nate Berkopec, author of the Complete Guide to Rails Performance and maintainer of the Puma web server.
</p>
<img src="/assets/img/workshopcontent.jpg" style="margin-bottom: 4rem">
<h3>Delivered via CLI, Powered By Free Software</h3>
<p>
At Speedshop, we believe software should respect our freedom.
</p>
<p>
We're pretty sure this is the world's first educational product delivered at the command line. Using the GPL-licensed CLI client, you'll go through the Rails Performance Workshop in the environment where you're most comfortable as a developer: the command line.
</p>
<p>
Want to try the client right now?
</p>
<code style="display:block;margin-bottom: 3rem">
$ gem install rpw && rpw list
</code>
<p>
In addition, while you need a license key to download course content, there is no DRM on any files you download, and all software that you need to consume this course is Free or Open-Source.
</p>
<p>
All course content is offline-compatible: you can download the entire workshop at once and then work offline, or you can download one lesson at a time.
</p>
<p>Although we encourage you to take the workshop in about 4 weeks, you have access to the material forever, and can start or stop at any time.</p>
<h3>Have a Team? Let Us Guide Your Perf Sprint</h3>
<p>
If you have a team of engineers, consider signed up for the enhanced Tiers of the Rails Performance Workshop. Higher Tiers get you hands-on, one-on-one instruction from course author Nate Berkopec.
</p>
<p>
<b>The Guided Training Addon</b> brings Nate on as your advisor for the 4 week period. You'll have weekly strategy calls and Nate will take a look at your metrics and give you feedback.
<b>The Consulting Addon</b> embeds Nate full-time in your application as a consultant, making performance improvements and scaling changes himself.
</p>
<p>
We've found many companies make the most of their workshop time when they dedicate a 4-week period to a performance-focused "sprint". This allows all attendees to comfortably make the workshop their "full-time job", and results in the best outcomes.
</p>
<div class="buy-now">
<div class="row" >
<div class="column" style="text-align: center;">
<h2>Take the Workshop</h2>
<h3>$500 per person, plus optional add-ons</h3>
</div>
</div>
<div class="row">
<div class="column">
<ul>
<li>6 hours of HD video instruction</li>
<li>10 hands-on "labs" that demonstrate concepts and demonstrate learning</li>
<li>36 guided pull requests, which show how to apply what you've learned to your real production app</li>
<li>30 pages of detailed hand-outs, aide-memoires and reminders for concepts taught in the workshop</li>
<li>A free copy of the Complete Guide to Rails Performance ($50 value)</li>
<li>Access to the Speedshop Rails Performance Slack channel, with over 1000 members</li>
<li>Free updates to all content, forever.</li>
</ul>
</div>
</div>
<div class="row" style="margin-bottom: 4rem">
<div class="column column-50 column-offset-25">
<a href="https://buy.stripe.com/00gg0Q2WS5M77E48ww" id="checkout-button" class="button button-workshop">
Buy Now
</a>
</div>
</div>
<div class="row">
<div class="column">
<h3>Add-Ons for Large Teams</h3>
<p>Are you a large team looking to do a performance-focused sprint? Most other teams have found the following add-on services extremely valuable:</p>
<ul>
<li>
<b>4 weeks Guided Training (+$7,500):</b> Includes 4 hour-long calls with Nate Berkopec, unlimited code review on any performance-related changes for 4 weeks, and a basic review by Nate of your application. Nate will also sit in your team's Slack/chat for rapid Q&A.
</li>
<li>
<b>Consulting (+$10,000 to +$40,000, custom):</b> For 1-4 weeks, Nate Berkopec will embed full-time with your team to improve the performance and scale of your Rails application.
</li>
</ul>
</div>
</div>
<div class="row" style="margin-bottom: 4rem">
<div class="column column-50 column-offset-25">
<a class="button button-outline button-workshop" href="mailto:[email protected]">
Contact Sales
</a>
</div>
</div>
</div>
<h3>Complete Syllabus</h3>
<p>
In case you were wondering, here's the complete syllabus:
</p>
<div class="row">
<div class="column">
<ul>
<b>
Section 1: Performance Measurement
</b>
<li>Understanding Requirements</li>
<li>Production Profilers (NewRelic, Scout, Skylight, DataDog, etc)</li>
<li>Assessing a Rails App for Perf</li>
<li>Live Example: CodeTriage</li>
<b>
Section 2: Full-Stack Performance
</b>
<li>How Front-End Perf Works</li>
<li>How To Optimize Page Load Time</li>
<li>How to Optimize Largest Contentful Paint</li>
<li>Using webpagetest.org as a Synthetic Benchmark</li>
<li>Analyzing Interactions</li>
<b>
Section 3: Ruby Benchmarking
</b>
<li>Benchmarking and Profiling</li>
<li>Creating a Local Performance Environment</li>
<li>Using Apache Bench</li>
<li>Using benchmark-ips</li>
<li>Benchmarking Background Jobs</li>
<li>Benchmarking Rails' Boot</li>
</ul>
</div>
<div class="column">
<ul>
<b>
Section 4: ActiveRecord
</b>
<li>"DRM": Database, Ruby, Memory</li>
<li>Profiling SQL with rack-mini-profiler</li>
<li>Fix N+1s</li>
<li>Diagnose unnecessary SQL</li>
<li>Understand Rails' Secret SQL Caches</li>
<li>Fix slow SQL queries</li>
<b>
Section 5: Profiling
</b>
<li>How Profiling Works</li>
<li>Stackprof and rack-mini-profiler</li>
<li>Profiling Background Jobs</li>
<li>Profiling test suites</li>
<li>Profiling Boot</li>
<li>Profiling Memory</li>
<li>Reviewing PRs For Performance</li>
<li>Optimize Any Rails Transaction</li>
<b>
Section 6: Scaling
</b>
<li>MMC Queues</li>
<li>The USE Method of Scale Analysis</li>
<li>When to Scale Up Or Down</li>
<li>Database pools in Rails</li>
<li>Understanding Threads and the GVL</li>
<li>Scaling in Miniature</li>
</ul>
</div>
</div>
<h3>Who's this?</h3>
<div class="row">
<div class="column column-75">
<p>My name is Nate Berkopec. I'm a software developer and author of the <a href="https://railsspeed.com">Complete Guide to Rails Performance</a>. I've previously worked for people like Getty Images, Intercom.io, ClickFunnels and more 500Startups and YCombinator startups than I can count. I was on Shark Tank once.</p>
</div>
<div class="column column-25">
<img src="/assets/img/nate.jpg">
</div>
</div>
</div>
</div>
</div>
</main>