Incrementally Rebuilding Stack Overflow's Monolith - Connell Sharp - NDC Toronto 2026

Incrementally Rebuilding Stack Overflow's Monolith - Connell Sharp - NDC Toronto 2026

🎙 Connell Sharp 👥 227K 📅 August 13, 2026 ⏱ 53 min 👁 77 📄 conference talk 🧭 2026-08-13
Available in: English (current) Français

Keywords

modular monolithincremental migrationA/B testingfeature flagsSvelte

Summary

Connell Sharp, a software engineer at Stack Overflow, presents a case study of incrementally rebuilding the comments UI on the question page. The talk begins by contrasting the company’s monolith with a modular monolith approach, where vertical slices contain UI, business logic, and data access. The team’s goal is to move comment-related code into a dedicated module, but they must do so while following an agile, experimental process. Sharp describes four methods of gathering user feedback: user interviews, personal intuition as a user, meta sites, and A/B testing. To enable A/B testing, they extended their existing feature flag system with a percentage-based rule, using a deterministic hash function to assign users to groups. The talk then details the technical implementation: embedding a Svelte component into a Razor view via an HTML helper, passing JSON arguments, and client-side rendering. The team experimented with a dropdown menu for comment intent, offering options like ‘comment with a clarification’, ‘say thanks’, and ‘ask a follow-up question’. They observed changes in user behavior based on copy changes, and eventually linked follow-up questions to the discussions feature. The talk concludes with reflections on the challenges of balancing architectural goals with incremental, experimental delivery.

197 words

Critical Evaluation

Value of the Information & Strength of the Argument

The talk provides valuable insights into real-world software engineering practices, particularly the challenges of incrementally modernizing a large monolith. The speaker’s argumentation is grounded in concrete examples and personal experience, making it credible and practical. He effectively illustrates the tension between long-term architectural goals and short-term agile experimentation. The discussion of A/B testing and feature flags is particularly useful, offering a clear explanation of the technical implementation. However, the talk is more of a narrative than a rigorous analysis, and some points could benefit from more quantitative data or comparisons with alternative approaches.

Scientific Rigor, Source Quality, Title Accuracy

The talk is based on the speaker’s direct experience, which lends authenticity but also limits objectivity. No external sources are cited, and the only links provided are to NDC conferences. The title accurately reflects the content, focusing on the incremental rebuild of the monolith. The speaker is transparent about the limitations and uncertainties, which enhances trustworthiness. However, the lack of references to industry literature or best practices means the talk should be viewed as a case study rather than a comprehensive guide.

190 words

Title / Content Match

The title accurately reflects the content: the talk focuses on incrementally rebuilding a part of Stack Overflow's monolith, specifically the comments system.

Quality & Reliability

8/10

The talk provides a detailed, first-hand account of a real engineering project, with concrete technical examples and honest discussion of challenges. The speaker is an engineer at Stack Overflow, lending credibility. However, it is a single perspective without external verification, and some claims (e.g., about the hash function) are anecdotal.

Key Moments

Cited Sources

  • NDC Conferences — Conference organizer and host of the talk.
  • NDC Toronto — Specific conference where the talk was recorded.

Concurring Sources

  • Modular Monolith Architecture — Supports the concept of modular monoliths as an alternative to microservices.
  • Feature Toggles — Discusses feature flags and their use in gradual rollouts and A/B testing.

Contribution & Novelties

The talk offers a rare, detailed account of how a major tech company like Stack Overflow approaches incremental modernization of a monolith. It provides practical insights into combining architectural goals with agile experimentation, including the use of feature flags for A/B testing and the integration of modern frontend frameworks like Svelte into legacy Razor views. The discussion of user feedback mechanisms and the challenges of changing UI copy is particularly valuable for practitioners.

Pour aller plus loin :

  • Modular monolith architecture — A foundational article by Martin Fowler on the modular monolith pattern.
  • Feature flags — Martin Fowler’s comprehensive guide to feature toggles, including percentage-based rollouts.
  • A/B testing — Overview of A/B testing methodology and its applications.

117 words

Radar Profile

The radar profile shows high scores in quantity and quality of information, reflecting the detailed and practical content. The technical level is also high, indicating a talk aimed at experienced developers. The overall reliability is strong, given the speaker's direct involvement, though the lack of external sources slightly lowers it.

Reliability 8/10