Scaling Slack And GitHub With Maude Lemaire
AIThis post was created with the assistance of artificial intelligence (AI).

TL;DR

The Pragmatic Engineer published an interview with Maude Lemaire about scaling infrastructure at Slack and GitHub, drawing on her experience as a principal engineer. She discusses Slack’s approach to WebSocket load testing and event floods, GitHub’s database query and sharding constraints, and why she personally verifies AI-generated work on foundational systems.

The Pragmatic Engineer has published an interview with software engineer Maude Lemaire about scaling Slack and GitHub, describing how teams handled high-volume connections, database load and performance. The discussion offers practical examples of infrastructure trade-offs at two widely used software platforms, including a Slack load-testing tool Lemaire built and limits on GitHub’s database sharding.

Before you orderOffer from Amazon

Get privacy and security gear delivered free with Prime

  • Fast, free delivery on millions of items
  • Prime Video, Amazon Music and more included
  • Member-only deals all year
Start your free Prime trial Free trial for eligible customers · Cancel anytime
As an affiliate, we earn on qualifying purchases.

At Slack, Lemaire spent nearly eight years and led the backend performance infrastructure team, according to The Pragmatic Engineer. The interview describes the challenge of preparing for a customer with 500,000 users. A plan to test the service with headless Chrome sessions was projected to cost about $150,000 per five-hour run, based on the report’s stated rate of $0.37 per instance. Lemaire instead built Koi Pond, a tool that used slimmed-down clients written in Go to create WebSocket connections for testing.

The report also discusses ways Slack limits or manages bursts of activity. It says custom emoji reactions are capped at 23 to reduce the fan-out load that can occur when reactions spread across a large channel. Separately, an event flood can overwhelm an individual user’s client when many busy channels deliver activity at once. These examples show that scaling is not only about total service capacity; the load on a single connection or user can also become a problem.

Lemaire later joined GitHub in 2024 to work on database scaling, the report says. There, the interview covers a Rails monolith using Active Record, where a homepage load could trigger around 100 SQL queries across three database clusters. The source says scatter queries—those without a sharding key—had to run across shards, contributing to a constraint that kept GitHub from adding more than 16 database shards at the time described. The report also notes Lemaire’s more recent performance work at Cursor, including efforts related to time to first token.

At a glance
reportWhen: Published as a podcast episode and acco…
The developmentThe Pragmatic Engineer published an interview with Maude Lemaire on infrastructure and performance challenges she encountered at Slack and GitHub.

The Cost of Scaling Connections and Queries

The examples illustrate how product growth can expose weaknesses that are not obvious in ordinary development. A load test using a full browser for every simulated user may provide a realistic test, but at the stated scale it was prohibitively expensive. Koi Pond’s lighter clients let Slack test a large number of WebSocket connections with a different cost profile. The account does not establish that this approach is appropriate for every service, but it shows how test design can affect whether teams can regularly evaluate capacity.

The GitHub example points to a different scaling risk: an abstraction that makes database access straightforward for developers can conceal the number and breadth of queries it generates. When requests become scatter queries, adding shards may not improve performance and can make cross-shard work more costly. For readers building or operating large systems, the interview underscores the need to measure database behavior and user-level bursts, not just application-level throughput.

Lemaire also describes a cautious approach to AI-assisted engineering. The report says she uses AI in her work but personally verifies outputs for foundational platform tasks, where mistakes could undermine later work. That distinction matters as software teams adopt language models: the interview presents verification as part of engineering judgment, rather than treating generated output as reliable by default.

Products Worth Considering

Sonos Era 300 Wireless Smart Speakers with Dolby Atmos, Black, 2-Pack

Sonos Era 300 Wireless Smart Speakers with Dolby Atmos, Black, 2-Pack

Bose QuietComfort Headphones (2nd Gen), Wireless Over-Ear Noise-Cancelling Headphones, Black

Bose QuietComfort Headphones (2nd Gen), Wireless Over-Ear Noise-Cancelling Headphones, Black

As an affiliate, we earn on qualifying purchases.

Lemaire’s Work Across Three Platforms

The interview follows Lemaire’s career across Rent the Runway, Slack, GitHub and Cursor. One anecdote from Rent the Runway dates to 2015, when the site’s homepage could take up to 10 seconds to load fully because of a high-resolution hero image. Lemaire said she worked on improving it even though she had been told the lack of competition made the issue less pressing. The report quotes her describing the motivation as competing with the experience the team could provide.

At Slack, her work focused on backend performance as the company served increasingly large enterprise customers. At GitHub, she encountered database challenges in a large Ruby on Rails monolith while Copilot was growing, according to the report. These experiences frame the interview as a practitioner’s account of specific engineering decisions, not a formal benchmark or a company-wide technical audit. Its findings are presented through the interviewer’s account of their conversation and should be read as such.

“The best competition is competition with yourself, knowing that you can do better, knowing that you can drive a better experience.”

— Maude Lemaire, as quoted in The Pragmatic Engineer

Limits of the Published Account

The source is an interview and accompanying report, not a current technical disclosure from Slack or GitHub. It does not provide the date when the 23-emoji limit or the reported 16-shard constraint applied, nor does it say whether those limits remain in place today. The account also does not give performance results from Koi Pond tests or a direct comparison with the proposed browser-based test.

It is not clear from the supplied material how GitHub’s query patterns or shard architecture have changed since Lemaire’s work there, or what specific systems she improved at Cursor. The report offers selected examples from a longer conversation; it does not claim to cover every scaling measure used by either company.

The Full Interview and Transcript

The source directs readers to the episode on YouTube, Apple and Spotify, with a transcript near the top of the report page and episode timestamps below it. The article does not announce a further product release or engineering milestone. Readers seeking more detail on the examples can consult the full conversation; any current status of the limits and architectures discussed would require updated information from Slack or GitHub.

Key Questions

What is the news about Maude Lemaire?

The Pragmatic Engineer published an interview with Lemaire about scaling Slack and GitHub, based on her experience working on performance and database infrastructure.

How did Slack test 500,000 user connections?

The report says Lemaire built Koi Pond, which used slimmed-down Go clients to establish WebSocket connections. This avoided the projected cost of simulating every user with a headless Chrome instance.

Why were scatter queries a problem at GitHub?

According to the interview report, scatter queries lacked a sharding key and had to run across shard instances. That could make queries slower as shards were added, contributing to a reported limit of 16 shards at the time described.

What does Lemaire say about using AI for engineering?

The report says she uses AI but personally verifies its output on foundational platform work. It does not provide a detailed list of the tools or tasks involved.

Source: newsletter.pragmaticengineer.com

You May Also Like

Secrets Management Explained Without Vendor Buzzwords

A plain-English guide to secrets management: what secrets are, why spreadsheets and Git fail, and how to fix it — no vendor jargon.

Northflank Breached

Northflank says its investigation is ongoing and advises customers to rotate credentials after reports of unauthorized use of AI API keys.

What Environment Separation Means for Developers

Learn how development, testing, staging, and production environments differ—and how to separate data, credentials, and services safely.

The Pulse: Firebase’s Global Outage & Poor Response

The Pragmatic Engineer reports a Firebase iOS SDK failure after a backend change, while Google did not update its status page or publish a postmortem.