Working Together in Real Time: Pair, Mob, Shadowing and Swarming
Posted on July 20, 2026 • 7 min read • 1,363 wordsPair programming, mob, shadowing, swarming: the four ways of working together in real time, their variants, their pitfalls, and how to choose the one that fits your situation.

In the guide to collaboration modes, we set out a rule: tacit knowledge travels only through contact. Synchronous modes are therefore irreplaceable — but they come at a cost, and that cost is scary. “Two people on a single task means halving productivity.” This article proves the opposite and details the four main ways of working together in real time, with their variants and their pitfalls.
An expert diagnosing an outage isn’t following a procedure: they eliminate hypotheses at a speed they couldn’t even describe themselves. Ask them to write down their method and they’ll hand you an impoverished list. That knowledge — the order in which you look at things, what triggers a suspicion — exists only in action.
That is the whole point of synchronous modes: they don’t transmit content, they expose a reasoning as it unfolds. Watching someone hesitate, backtrack, rule out a lead: that’s where tacit knowledge passes.
As for the cost, it’s almost always miscalculated. People compare the time spent writing the code, when they should count the whole: the code review that becomes unnecessary, the back-and-forth avoided, the bugs not introduced, the colleague trained along the way. Working in pairs doesn’t double the cost of a feature — it shifts part of the effort upstream, where it’s cheapest.
Two people, one keyboard. It’s the baseline mode, and the most flexible.
The classic setup rests on two roles:
The golden rule is regular rotation. Without it, one becomes an operator and the other a spectator — and the transfer stops. A switch every ten to fifteen minutes is enough to keep both brains engaged.
Three variants are worth knowing:
The whole team, one problem, one screen. What Woody Zuill popularized under the name mob programming (also called ensemble programming).
The format resembles pairing, at group scale: one person at the keyboard, the others thinking and guiding, with a timed rotation of the driver — often every five to ten minutes. The timer isn’t a gimmick: it prevents anyone from monopolizing the keyboard and ensures everyone goes through the physical act.
When to use it. The mob isn’t made for mass production. It excels at:
On these subjects, it does in a morning what weeks of documentation and reviews wouldn’t: it aligns the whole team at once.
Its real cost is lower than it seems, because it absorbs activities you pay for elsewhere: no more code review to do, no more alignment meeting, no more context handoff. It remains tiring, though — more on that in section VII.
Shadowing is the simplest mode, and probably the most underused. It unfolds in two stages:
That second stage is the one almost always skipped, and yet it’s the only one that proves the transfer happened. Observing gives the illusion of knowing; doing reveals what you don’t know yet.
Shadowing shines especially for operational knowledge — incidents, ops procedures, rare gestures — that you don’t practice often enough to acquire any other way.
Swarming is the convergence of the whole team on a single blocking item. The difference from the mob lies in its trigger: the mob is a chosen way of working, swarming is a reaction to a situation.
You use it when:
Its knowledge-transfer virtue is a side effect — but a powerful one: by leaning on a subject together, the team discovers an area of the system that few mastered. It’s often during a swarm that you realize how much a component rested on a single head.
| Situation | Suitable mode | Why |
|---|---|---|
| Training a new hire | Pair (strong-style), shadowing | Large experience gap |
| Passing on testing discipline | Ping-pong pairing | Practice is exercised, not explained |
| Starting a module, setting conventions | Mob | Aligns the whole team at once |
| Spreading knowledge of a critical system | Mob, pair rotation | Raises the bus factor |
| Passing on ops gestures | Shadowing then reverse shadowing | Operational knowledge, rarely practiced |
| Unblocking a task that’s dragging | Swarming | Reaction to a concrete blocker |
| Routine, well-mastered work | Solo | Synchronous work adds nothing here |
Last row included: not everything deserves to be done together. Synchronous work is reserved for what’s new, critical, or poorly shared.
Pair, mob, shadowing, swarming: four ways of putting several brains on the same problem at the same moment, and four ways of passing on what no document will retain. They don’t compete — a mature team combines them according to context, and reserves them for what truly deserves them.
Above all, remember this: these modes don’t cost time, they shift it. The time you invest in working together today, you won’t pay tomorrow in endless reviews, in bugs, or in the departure of an expert who takes everything with them.
Mob Programming — Woody Zuill
The blog of the person who popularized the mob: principles, format, and field experience with the practice in a team.
Llewellyn’s Strong-Style Pairing
The original article on “strong-style” pairing: the idea must go through the other person’s hands, with the practical rules to apply it.
On Pair Programming — Martin Fowler (Böckeler & Siessegger)
A complete overview of pairing: styles, benefits, common difficulties, and advice for practicing it remotely.
Industrial Logic — Articles & papers
Industrial Logic’s library of articles on agile practices, including pair programming and pair rotation.