RR 411: What causes Ruby memory bloat? with Hongli Lai
Eric Berry starts by sharing how Phusion and Phusion passenger changed his career and thanks Hongli Lai for his work. Hongli talks about where Phusion is now and shares what's new with passenger 6. The panel compares passenger and puma and Hongli explains why passenger is the better choice. The panel wonders about deployment strategies and Hongli shares what he has seen done with Passenger.
Special Guests:
Hongli Lai
Show Notes
Sponsors
- Sentry use the code “devchat” for 2 months free on Sentry small plan
- Triplebyte offers a $1000 signing bonus
- RedisGreen
- Cachefly
Panel
- Charles Max Wood
- Dave Kimura
- Eric Berry
Joined by Special Guest: Hongli Lai
Summary
Eric Berry starts by sharing how Phusion and Phusion passenger changed his career and thanks Hongli Lai for his work. Hongli talks about where Phusion is now and shares what's new with passenger 6. The panel compares passenger and puma and Hongli explains why passenger is the better choice. The panel wonders about deployment strategies and Hongli shares what he has seen done with Passenger.
Hongli discusses the article he wrote about memory bloat. He starts by explaining why he wrote the article. The panel discusses what causes memory bloat and how to identify memory bloat versus memory leaks. Hongli explains how the system memory allocator works and why people are using Jemalloc instead. The panel discusses Jemalloc and wonders why Ruby doesn’t adopt Jemalloc. Hongli shares his magic solution for solving the memory bloat problem and other tips for managing memory.
Links
- https://www.phusionpassenger.com/
- https://github.com/phusion/passenger-docker
- https://devchat.tv/ruby-rogues/rr-403-rails-needs-active-deployment-with-stefan-wintermeyer/
- https://blog.phusion.nl/2019/03/14/what-causes-ruby-memory-bloat/
- https://www.joyfulbikeshedding.com/blog/2019-03-14-what-causes-ruby-memory-bloat.html
- https://www.joyfulbikeshedding.com/blog/2019-03-29-the-status-of-ruby-memory-trimming-and-how-you-can-help-with-testing.html
- https://en.wikipedia.org/wiki/Lars_Bak_(computer_programmer)
- https://twitter.com/honglilai
- https://www.facebook.com/RubyRogues
- https://twitter.com/rubyrogues
Picks
Dave Kimura:
- LEGO Marvel Super Heroes Avengers: Infinity War The Hulkbuster Smash-Up 76104 Building Kit (375 Piece)
- Samsonite Explore Eco 2-Piece Softside Set
Hongli Lai:
Eric Berry:
Charles Max Wood:
- Open source sustainability podcast
- https://podwrench.com/
- Podcast assembly line
- Podcast Laboratory
- https://mybuild.techcommunity.microsoft.com/home#top-anchor
- Oz con
- https://elixirconf.com/2019
- https://finconexpo.com/
- https://podcastmovement.com/
- https://go.2000books.com/
Special Guest: Hongli Lai .
RR 411: What causes Ruby memory bloat? with Hongli Lai
0:00
Playback Speed: