Home
Categories
EXPLORE
True Crime
Comedy
Business
Society & Culture
Sports
Technology
History
About Us
Contact Us
Copyright
© 2024 PodJoint
00:00 / 00:00
Sign in

or

Don't have an account?
Sign up
Forgot password
https://is1-ssl.mzstatic.com/image/thumb/Podcasts126/v4/2f/71/af/2f71afda-91ff-7159-31b4-327277517682/mza_14660847406736869543.jpg/600x600bb.jpg
SaaS for Developers
Gwen
42 episodes
1 day ago
Learn what every engineer should know about building and scaling SaaS products from leaders who built world-class SaaS. We will share lessons learned, advice, tips, and great stories. This podcast is part of the SaaS community. You can also join our Slack https://launchpass.com/all-about-saas and follow our Youtube https://www.youtube.com/channel/UCZuLNqvV4oUMVyNq70mFF0g
Show more...
Technology
RSS
All content for SaaS for Developers is the property of Gwen and is served directly from their servers with no modification, redirects, or rehosting. The podcast is not affiliated with or endorsed by Podjoint in any way.
Learn what every engineer should know about building and scaling SaaS products from leaders who built world-class SaaS. We will share lessons learned, advice, tips, and great stories. This podcast is part of the SaaS community. You can also join our Slack https://launchpass.com/all-about-saas and follow our Youtube https://www.youtube.com/channel/UCZuLNqvV4oUMVyNq70mFF0g
Show more...
Technology
https://d3t3ozftmdmh3i.cloudfront.net/production/podcast_uploaded_nologo/18983016/18983016-1637555620431-393460f85026a.jpg
Postgres, Performance and Rails
SaaS for Developers
57 minutes 58 seconds
2 years ago
Postgres, Performance and Rails

Andrew Atkinson took a Rails web application that was struggling with load, and optimized it to handle over 9000 HTTP requests per second with an average latency of 35ms end to end. Handling a much higher load, on a smaller RDS instance, with lower latencies. He then shared his expertise by writing a book: "High-Performance Postgres with Rails." Andrew and I discussed Postgres performance, scalability, design patterns, valuable tools, his career, and some Rails. I tackled Andrew with many of the biggest challenges SaaS developers encounter with Postgres, and Andrew had an answer to everything. For me, the highlights were his explanation of the N+1 problem, sharding patterns, the use of pgcopydb project to move a noisy neighbor to another DB, and the secret for scaling on a single instance. Useful links: - The book: https://pgrailsbook.com - SaaS Developer Slack - where Andrew answers Postgres questions and will share a discount for his book: http://launchpass.com/all-about-saas


Tools we mentioned: - Easier multi-tenancy for Rails: https://github.com/ErwinM/acts_as_tenant - For read replicas prior to Rails 6.0: https://github.com/OutOfOrder/multidb - The fastest way to copy a DB or part of: https://github.com/dimitri/pgcopydb

SaaS for Developers
Learn what every engineer should know about building and scaling SaaS products from leaders who built world-class SaaS. We will share lessons learned, advice, tips, and great stories. This podcast is part of the SaaS community. You can also join our Slack https://launchpass.com/all-about-saas and follow our Youtube https://www.youtube.com/channel/UCZuLNqvV4oUMVyNq70mFF0g