Bending Time with Crystal: 6 hours to 15 minutes
summary
A Rails sitemap job that takes 6 hours for 18 million links becomes a 15 minute process after porting the generator to Crystal using site_mapper and Jennifer, with only about 185 lines of new code and a working prototype in two days. The team finds and fixes a memory issue by changing the shard to stream and write sitemap files as it goes, submits a PR that gets merged, and shows the approach is practical and dramatically faster with minimal porting effort 6 hours to 15 minutes
AI-written summary · about
chapters (12)
- 0:00Start
- 1:03What is The RealReal?
- 2:10Introduction to Crystal
- 2:50Sample Crystal
- 4:01Crystal Ecosystem
- 6:02Sitemap generation for TheRealReal
- 6:29What makes it so difficult?
- 13:52Ruby Sitemap Generation
- 15:26First Step-Database Modeling
- 17:52Next step - Generation code
- 18:34Crystal Sitemap Generation
- 24:05Recapping the creative process








