Go offline with the Player FM app!
Podcasts Worth a Listen
SPONSORED


1 Eli Beer & United Hatzalah: Saving Lives in 90 seconds or Less 30:20
Postgres, Performance and Rails
Manage episode 375032803 series 3001396
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
42 episodes
Manage episode 375032803 series 3001396
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
42 episodes
All episodes
×
1 Cell Based Architecture for Early Stage SaaS 55:12

1 Never Rewrite! And other advice for SaaS Developers 36:31

1 The Wonders of Postgres Logical Decoding Messages 40:38

1 Cloudflare: Performance isolation in multi-tenant DB 36:14

1 Real-time Data Infrastructure - At Uber and Beyond 38:10

1 Scalable Multi-tenant Platforms at Loom and at Times 47:03

1 Giving and Receiving Actually Useful Advice 17:16


1 Airtable - Migrating a Multitenant Architecture to MySQL 8.0 38:34

1 The Multitenant journey - From 0 to 500M ARR 55:16



1 Data Contracts for SaaS Developers with Benn Stancil 42:37



1 Access Control: a customer-centric approach 49:15





1 SaaS Growth Teams - Hack Your Way to Success 30:10
Welcome to Player FM!
Player FM is scanning the web for high-quality podcasts for you to enjoy right now. It's the best podcast app and works on Android, iPhone, and the web. Signup to sync subscriptions across devices.