Menu
Sign In Search Podcasts Libraries Charts People & Topics Add Podcast API Blog Pricing

David Heinemeier Hansson (DHH)

πŸ‘€ Speaker
4269 total appearances

Appearances Over Time

Podcast Appearances

Lex Fridman Podcast
#474 – DHH: Future of Programming, AI, Ruby on Rails, Productivity & Parenting

So YGIT is their compiler for Ruby that just makes everything a lot more efficient.

5243.745 View full episode β†’
Lex Fridman Podcast
#474 – DHH: Future of Programming, AI, Ruby on Rails, Productivity & Parenting

And at Shopify's scale, eking out even a 5%, 10% improvement in Ruby's overhead and execution time is a huge deal.

5249.29 View full episode β†’
Lex Fridman Podcast
#474 – DHH: Future of Programming, AI, Ruby on Rails, Productivity & Parenting

Now, Shopify didn't need YGIT.

5259.599 View full episode β†’
Lex Fridman Podcast
#474 – DHH: Future of Programming, AI, Ruby on Rails, Productivity & Parenting

Shopify was already running on the initial version of Ruby that was, I think, 10 times slower than what we have today.

5263.04 View full episode β†’
Lex Fridman Podcast
#474 – DHH: Future of Programming, AI, Ruby on Rails, Productivity & Parenting

If you look back upon the Ruby 1.8.6 that Topi probably started on, just as I started on, and that was enough to propel Shopify to the scale that it has today.

5270.568 View full episode β†’
Lex Fridman Podcast
#474 – DHH: Future of Programming, AI, Ruby on Rails, Productivity & Parenting

A lot of the scaling conversation is lost in a failure to distinguish two things.

5281.861 View full episode β†’
Lex Fridman Podcast
#474 – DHH: Future of Programming, AI, Ruby on Rails, Productivity & Parenting

Scale is kind of one package we talk about when there are really multiple packages inside of it.

5289.905 View full episode β†’
Lex Fridman Podcast
#474 – DHH: Future of Programming, AI, Ruby on Rails, Productivity & Parenting

One is runtime performance, latency.

5295.777 View full episode β†’
Lex Fridman Podcast
#474 – DHH: Future of Programming, AI, Ruby on Rails, Productivity & Parenting

How fast can you execute a single request?

5298.984 View full episode β†’
Lex Fridman Podcast
#474 – DHH: Future of Programming, AI, Ruby on Rails, Productivity & Parenting

Can it happen fast enough that the user will not notice?

5301.389 View full episode β†’
Lex Fridman Podcast
#474 – DHH: Future of Programming, AI, Ruby on Rails, Productivity & Parenting

If your Rails request takes a second and a half to execute, the user's going to notice.

5304.957 View full episode β†’
Lex Fridman Podcast
#474 – DHH: Future of Programming, AI, Ruby on Rails, Productivity & Parenting

Your app is going to feel slow and sluggish.

5309.782 View full episode β†’
Lex Fridman Podcast
#474 – DHH: Future of Programming, AI, Ruby on Rails, Productivity & Parenting

You have to get that response time down below, let's say, at least 300 milliseconds.

5312.285 View full episode β†’
Lex Fridman Podcast
#474 – DHH: Future of Programming, AI, Ruby on Rails, Productivity & Parenting

I like to target 100 milliseconds as my latency.

5318.071 View full episode β†’
Lex Fridman Podcast
#474 – DHH: Future of Programming, AI, Ruby on Rails, Productivity & Parenting

That's kind of performance.

5321.414 View full episode β†’
Lex Fridman Podcast
#474 – DHH: Future of Programming, AI, Ruby on Rails, Productivity & Parenting

How much performance of that kind of latency can you squeeze out of a single CPU core?

5323.056 View full episode β†’
Lex Fridman Podcast
#474 – DHH: Future of Programming, AI, Ruby on Rails, Productivity & Parenting

That tells you something about what the price of a single request will be.

5328.662 View full episode β†’
Lex Fridman Podcast
#474 – DHH: Future of Programming, AI, Ruby on Rails, Productivity & Parenting

But then whether you can

5332.606 View full episode β†’
Lex Fridman Podcast
#474 – DHH: Future of Programming, AI, Ruby on Rails, Productivity & Parenting

deal with one million requests a second, like Shopify is doing right now.

5334.168 View full episode β†’
Lex Fridman Podcast
#474 – DHH: Future of Programming, AI, Ruby on Rails, Productivity & Parenting

If you have one box that can do a thousand requests a second, you just need X boxes to get up to a million.

5339.313 View full episode β†’