Design an Internal Forum (StackOverflow for Teams)

Medium45 min
1 / 30
System design answer

Design an Internal Forum (StackOverflow for Teams)

Medium45 min30 sections
understanding•10 min read

Problem Statement: A Forum Is a Knowledge Ledger, Not a Feed

Frames the internal Q&A platform as a durable, permission-aware knowledge asset rather than a chat or social feed.

Problem statement

Design an internal forum where employees post questions, receive answers, upvote the best solutions, mark one answer as accepted, and build searchable knowledge over years. The platform integrates with corporate SSO for identity, uses tags for technologies and departments, computes reputation so domain experts surface naturally, and treats much of the content as confidential.

The first mistake most candidates make is drawing a social feed. A feed optimizes freshness and engagement; an internal forum optimizes retrieval and trust. A question answered in 2023 must still be findable, still correct in its permissions, and still attributable in 2026, after the author changes teams, the space is archived, and the search index is rebuilt twice. The durable artifact is the thread; the feed, the digest, and the trending widget are projections over it.

Why this problem is distinctive

Three properties separate this from a public Q&A clone. First, the audience is bounded and authenticated: every reader is an employee, but not every employee may read every space. Compensation discussions, security incident postmortems, and unreleased product plans can live next to onboarding questions, so permission filtering must be enforced at the storage, API, and search layers simultaneously. Second, the content is an asset with retention obligations, not ephemeral state: eDiscovery, legal hold, and audit apply. Third, quality signals are adversarial in a different way: reputation inside a company converts into visibility and perceived authority, so vote manipulation, sockpuppet rings, and copy-paste answer farming must be treated as first-class abuse cases.

The four architectural planes

  1. Content plane: questions, answers, comments, revisions, tags, spaces, and the state machines that govern them.
  2. Discovery plane: full-text and tag search, feeds, related questions, and autocomplete, all permission-filtered.
  3. Identity and governance plane: SSO, SCIM provisioning, RBAC and space ACLs, moderation, audit.
  4. Engagement plane: votes, accepted answers, reputation, badges, notifications, and integrations such as Slack and email digests.

A strong answer keeps these planes separable. The discovery plane may degrade to stale results; the content plane may never lose an accepted answer; the identity plane may never authorize a read it cannot prove.

Public operating baseline versus design assumptions

The category is real and public. Stack Overflow reports roughly one hundred million monthly visits to its public network and launched Stack Overflow for Teams in 2019; its engineering blog describes a .NET and SQL Server core with Redis caching and Elasticsearch search. Slack reported around thirty-two million daily active users in 2023 and has described a search architecture built on sharded MySQL feeding a Solr index. Discourse, the open-source forum used by many internal deployments, runs on Rails with PostgreSQL and Redis. These are cited public figures and architectures used as context, not as requirements for our fictional system.

For capacity planning this answer explicitly assumes one very large organization: 250,000 employees, 60,000 weekly active participants, 25,000 daily active participants, about 800 new questions per day, and a five-year corpus near fifteen million posts. Unless a number is tied to a named company, it is a stated design assumption, target, or budget, never a claim about any company's private architecture.

Key Highlights

  • •A forum is a durable knowledge ledger; feeds and digests are projections over threads.
  • •Permission filtering must hold across storage, API, and search simultaneously.
  • •Reputation converts to internal authority, so vote abuse is a first-class threat.
  • •Four planes: content, discovery, identity and governance, engagement.
  • •Public figures from Stack Overflow, Slack, and Discourse are context; every other number here is an explicit assumption.
Lead With the Ledger Framing
State in the first two minutes that a forum is a durable knowledge ledger with permissioned retrieval, not a feed. This instantly separates your answer from a social-media design and frames every later consistency decision.
Do Not Design a Public Q&A Clone
Public forums assume anonymous reads and no confidentiality. An internal forum must assume authenticated reads, space-level ACLs, retention obligations, and audit from the first diagram.

Section Rescue Kit

Buzzwords to use:

Knowledge LedgerSpace-Level ACL

Safe statements:

  • "I will separate durable knowledge from derived views before choosing any technology."
  • "Before drawing services, let me define what must never be lost versus what may be stale."
Design an Internal Forum (StackOverflow for Teams) - System Design | WinJob | WinJob