Andrew Atkinson

@andatki
210 Followers
282 Following
298 Posts

The rise of larger vehicles like SUVs and pickup trucks, with their taller hoods and larger blind zones, has contributed to a 75% increase in pedestrian and cyclist deaths since 2009.

Until we design better streets and ban these vehicles, people outside these vehicles will keep dying.

https://www.nytimes.com/interactive/2026/06/21/us/trucks-suv-pedestrian-crashes.html?unlocked_article_code=1.sFA.I27_.RXJpxEQcJXSI&smid=nytcore-ios-share

The Deadly Rise of Giant Trucks and S.U.V.s

The vehicles on American roads have grown larger โ€” and they are killing thousands more pedestrians, a Times investigation found.

The New York Times

Andrew Atkinson: Scaling Rails at Aura Frames: Splitting to 8 Primary DBs and Reaching #1 in the App Store

https://postgr.es/p/9m9

#postgresql

Scaling Rails at Aura Frames: Splitting to 8 Primary DBs and Reaching #1 in the App Store

๐Ÿ“Œ Overview Ruby on Rails has helped make it possible to scale out the database layer, meeting the demands of millions of Aura Frames customers enjoying their digital photo frames. In late 2025, the team added additional primary databases to expand capacity for peak write and read load ahead of Christmas Day, the busiest day of the year for the company. Rails manages queries and schema changes for each primary database within the same codebase, and now with the additional capacity of many primary databases. With 8 primary databases in total, each server instance can be vertically scaled ahead of peak load. When load returns to normal levels, instances are scaled down for cost savings. The team leveraged native support for Multiple Databases and the disable_joins: true feature in Active Record, the ORM for Ruby on Rails. The disable_joins feature replaces SQL joins, issuing multiple SELECT statements to combine data in the application from different databases. This post looks back at the technical details of that plan, as well as a variety of additional data layer scaling tactics, that culminated in a successful Christmas 2025 season, with peak U.S. and Canadian Apple App Store and Google Play Store rankings of #1.

Software Engineer, Author, High Performance PostgreSQL for Rails

From Christmas Outage to #1 App Store Ranking: An Aura Frames Postgres Scaling Retrospective

https://andyatkinson.com/postgresql-rds-scaling-aws-christmas-day-peak

#Postgres #Scaling #Databases

From Christmas Outage to #1 App Store Ranking: An Aura Frames Postgres Scaling Retrospective

๐Ÿ“Œ Overview On Christmas Day 2024, Postgres infrastructure powering the Aura Frames API had problems under peak load, being unavailable for three hours and disrupting the experience for new customers. The team knew it would need improvements to handle the surge for Christmas 2025 and beyond. One year later, much of the resource intensive data access was reworked, the Postgres infrastructure was upsized, and this approach not only survived, but thrived, providing reliable service through the holiday season. The sum of Transactions Per Second (TPS) across the DBs peaked at 226,000, with more than 100K TPS sustained for 10 hours and repeating on multiple days after Christmas, with an average query time of 25 microseconds. The improved reliability meant customers could smoothly set up new frames and add photos, and they did it more than ever, with the Aura Frames app reaching #1 in U.S. and Canadian Apple and Android App Stores on Christmas Day. In this post weโ€™ll look back at the months of planning and execution that went into achieving that outcome! A second post in this series will dig into the Ruby on Rails side, while this one will focus on Postgres.

Software Engineer, Author, High Performance PostgreSQL for Rails

Excited to share details from Postgres (RDS) work I helped with last year!

https://andyatkinson.com/postgresql-rds-scaling-aws-christmas-day-peak

From Christmas Outage to #1 App Store Ranking: An Aura Frames Postgres Scaling Retrospective

๐Ÿ“Œ Overview On Christmas Day 2024, Postgres infrastructure powering the Aura Frames API had problems under peak load, being unavailable for three hours and disrupting the experience for new customers. The team knew it would need improvements to handle the surge for Christmas 2025 and beyond. One year later, much of the resource intensive data access was reworked, the Postgres infrastructure was upsized, and this approach not only survived, but thrived, providing reliable service through the holiday season. The sum of Transactions Per Second (TPS) across the DBs peaked at 226,000, with more than 100K TPS sustained for 10 hours and repeating on multiple days after Christmas, with an average query time of 25 microseconds. The improved reliability meant customers could smoothly set up new frames and add photos, and they did it more than ever, with the Aura Frames app reaching #1 in U.S. and Canadian Apple and Android App Stores on Christmas Day. In this post weโ€™ll look back at the months of planning and execution that went into achieving that outcome! A second post in this series will dig into the Ruby on Rails side, while this one will focus on Postgres.

Software Engineer, Author, High Performance PostgreSQL for Rails

First leg. Second city. XO Ruby Seattle. August 8th. If you're apart of the Seattle Ruby community or the Seattle dev community at large we wanna hear from you. Tell us what we need to know.

Coworking ๐Ÿ’ป. Coffee โ˜•. Spots only Seattle natives know ๐Ÿคซ. Drop it all in the comments ๐Ÿ‘‡

Tell a friend to tell a friend we're coming to town ๐Ÿš—๐Ÿ’จ.

#XORuby #XORuby2026 #RubyOnRails #PacificNorthwest #SaltLakeCity #Seattle #Vancouver #RubyCommunity

#RubyDev #SoftwareEngineering #TechConference

Spring Bank Holiday, Memorial Day, Whit Monday - whatever holiday is happening around you today, take advantage of our annual SPRING SALE!

Hand-picked books for right now -
50% off with code Spring2026
Details - see our most recent newsletters:
https://pragprog.com/news/index.html

๐Ÿ“ฃ Chicago & Midwest PostgreSQL community!
Get ready for #PGDATA2026 โ€” a new 2-day PostgreSQL conference coming June 4โ€“5, 2026 at @LoyolaChicagoโ€™s Water Tower Campus ๐ŸŽ‰

Learn, connect, and grow with DBAs, developers, and researchers driving open-source innovation in the Midwest.

#Postgres #PostgreSQL #PGDATA2026 #Chicago #PrairiePostgres #TechConference #OpenSource

Iโ€™ve got a couple of big blog posts and a book discount code dropping soon, exclusively for newsletter subscribers! Donโ€™t miss it. Subscribe here: https://pgrailsbook.com/
High Performance PostgreSQL for Rails

๐ŸŽ™๏ธ Talking #Postgres #Podcast: Helping #Rails developers learn Postgres with Andrew Atkinson https://andyatkinson.com/helping-rails-developers-learn-postgres-with-andrew-atkinson
๐ŸŽ™๏ธ Talking Postgres Podcast: Helping Rails developers learn Postgres with Andrew Atkinson

Back in November, I met with Claire Giordano, host of the Talking Postgres podcast, who asked a ton of great questions about my experience writing a Postgres book aimed at Ruby on Rails web developers.

Software Engineer, Author, High Performance PostgreSQL for Rails

New post: Five Postgres anti-patterns I keep seeing in Rails apps and how to fix them.

https://shey.ca/2025/09/12/five-db-anti-patterns.html

Five PostgreSQL Anti-Patterns

Five PostgreSQL Anti-Patterns

Shey Sewani