Mettez-vous hors ligne avec l'application Player FM !
Podcasts qui valent la peine d'être écoutés
SPONSORISÉ


1 How AI is saving billions of years of human research time | Max Jaderberg 19:15
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
Tous les épisodes
×
1 Optimizing Cloud Costs for SaaS Startups 29:35

1 SaaS: More than just a business model 52:04


1 Kora: Cloud Native Platform for Kafka 42:49

1 Cell Based Architecture for Early Stage SaaS 55:12

1 Building a Serverless Streaming Platform 42:23

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

1 The Wonders of Postgres Logical Decoding Messages 40:38

1 Postgres, Performance and Rails 57:58

1 Trends in Observability and Alerting 36:44

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 Building SaaS on Kafka Streams 53:48

1 Transaction Isolation - Demystified! 31:11

1 Giving and Receiving Actually Useful Advice 17:16

1 The Promise of Serverless 1:06:30

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

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

1 Compute-Storage Separation Explained 18:01

1 SaaS Developer Trends - 2022 and 2023 17:24

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

1 SLO - Best Practices for Reliable SaaS 56:48

1 Shifting Left of API Security 49:20

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

1 My Job is to Predict the Future 1:15:22

1 Infra SaaS Architecture - the hard parts 41:59

1 Reverse ETL - Why is it a big deal? 21:01

1 SaaS Growth Teams - Hack Your Way to Success 30:10
Bienvenue sur Lecteur FM!
Lecteur FM recherche sur Internet des podcasts de haute qualité que vous pourrez apprécier dès maintenant. C'est la meilleure application de podcast et fonctionne sur Android, iPhone et le Web. Inscrivez-vous pour synchroniser les abonnements sur tous les appareils.