Conway's law
Conway’s law is the claim that organisations which design systems produce designs that copy their own communication structures (Conway, 1968). Outside computing it is called the mirroring hypothesis. A review of 142 studies finds mirroring common in firms but absent in most studies of open collaborative projects such as open-source software (Colfer & Baldwin, 2016). Two further points are disputed: whether matching teams to the structure of the software improves its quality, and whether reorganising teams on purpose can reshape a system’s architecture (Mauerer et al., 2021; Fowler, 2022).
Conway’s original claim
Conway’s law first appeared in 1968 as an empirical observation relating the structure of a system to the structure of the organisation that creates it (Mauerer et al., 2021). In Conway’s own words, design organisations “are constrained to produce designs which are copies of the communication structures of these organizations” (Conway, 1968).
Conway drew a practical rule from it: a design effort should be organised according to the need for communication (Conway, 1968).
The mirroring hypothesis
Outside computer science, the same idea is called the mirroring hypothesis. It predicts that organisational ties within a project, a firm or a group of firms correspond to the technical dependencies in the work (Colfer & Baldwin, 2016). A technical dependency exists where a change in one part forces a change in another. Organisational ties are who works with, reports to, or talks to whom.
The hypothesis predicts a match but not which side causes it (Colfer & Baldwin, 2016). A team may split the software along its own lines, or the software’s structure may decide how teams form. The same review argues that matching is not always best. In technologically dynamic industries, partial mirroring is likely to do better: knowledge is shared more widely than the work is divided. Firms can also deliberately “break the mirror” (Colfer & Baldwin, 2016).
How far the evidence supports it
The evidence supports mirroring in firms, and much less in projects run as open collaborations, such as open-source software projects.
Firms Strong evidence: many studies agree on this
Most studies of firms find mirroring. Of the descriptive industry and firm studies in Colfer and Baldwin’s review of 142 empirical studies, 70% strongly support the hypothesis, 22% partly support it and 8% do not (Colfer & Baldwin, 2016). The authors conclude that mirroring is prevalent in firms but not universal (Colfer & Baldwin, 2016).
A separate review within software engineering reaches a similar but more cautious verdict. Among papers citing Conway’s article, more reported evidence for the law than against it, and the balance depended on how social and technical structures were measured (Betz et al., 2012). Only 15 of the 76 papers analysed reported evidence either way, and the authors note that their review was not a full systematic one (Betz et al., 2012).
Open-source projects Contested: studies disagree on this
Studies disagree on whether open-source projects mirror their organisation. In Colfer and Baldwin’s review, a majority (56%) of descriptive studies of open collaborative projects do not support mirroring (Colfer & Baldwin, 2016). Of 18 such studies, 10 found no mirroring, 5 found it and 3 found it in part (Colfer & Baldwin, 2016).
Several of these studies found no correspondence at all between groups of developers and parts of the code. Three found neither a strict division of the codebase nor any match between organisational groups and modules (Colfer & Baldwin, 2016). In FreeBSD, an open-source operating system, developers from different parts of the world contributed to the same module on the same day (Colfer & Baldwin, 2016).
Colfer and Baldwin explain the exception by coordination through the shared code itself. They call it stigmergy: when components are easy to understand and change, the system coordinates the work without direct communication between people (Colfer & Baldwin, 2016). Open projects also rely on high-bandwidth communication without working in one place, and on volunteers choosing their own tasks rather than being assigned them (Colfer & Baldwin, 2016). Because participants see and build on each other’s work, technical dependencies and organisational ties come apart (Colfer & Baldwin, 2016).
Open-source code is also structured differently. Open-source codebases mostly have a core and a periphery, with consistently smaller cores than comparable proprietary codebases, so changes spread less (Colfer & Baldwin, 2016). Information hiding means giving each module a design decision that other modules cannot see, and it usually ties modules to teams. It is often absent in open collaborative projects, which still combine high modularity with low cognitive complexity (Colfer & Baldwin, 2016). (Option value in software design covers information hiding.)
Open-source organisations, which are loosely coupled, also tend to produce more modular products. In matched pairs of software products, the product from the loosely coupled open-source organisation was always significantly more modular than the commercial one (MacCormack et al., 2011). The difference reached a factor of eight in how far a change in one component could spread to others (MacCormack et al., 2011). Four studies in Colfer and Baldwin’s review likewise found open-source projects more modular and less cognitively complex than proprietary ones (Colfer & Baldwin, 2016).
Organisation and software quality Contested: studies disagree on this
Studies disagree on whether the fit between organisation and software affects quality. The fit is measured as socio-technical congruence: how far the people who actually coordinate match the people whose code depends on each other (Cross-team coordination covers it in industrial projects).
On the supporting side, organisational structure predicted defects in one large commercial system. On Windows Vista data, organisational measures significantly predicted which parts would fail. They did better than code churn (how often code changes) or complexity (Nagappan et al., 2008b). The authors note that little earlier evidence linked organisational structure to direct measures of software quality (Nagappan et al., 2008b).
On the other side, a study of 25 large open-source projects found congruence unrelated to bugs and churn in every time window it tested (Mauerer et al., 2021). Where a relation appeared, its direction varied randomly over time, which the authors say contradicts many assumptions about congruence (Mauerer et al., 2021). They conclude that congruence matters less than believed, and that the argument may extend to Conway’s law itself (Mauerer et al., 2021).
The inverse Conway manoeuvre Weak evidence: few or small studies support this
The inverse Conway manoeuvre rests on practitioner advice rather than on tests. It means deliberately changing the structure of development teams to encourage the software architecture one wants (Fowler, 2022). Martin Fowler credits the term to Jonny LeRoy and Matt Simons, writing in the Cutter IT Journal in December 2010 (Fowler, 2022). He warns that for a system with a rigid architecture, changing the organisation is not an instant fix (Fowler, 2022).
The closest scholarly support is a conjecture. From a literature review, Betz and colleagues propose a “rubber band effect”. A change in communication structure alone would sooner or later trigger design changes that restore the match (Betz et al., 2012).
Team Topologies, an approach to organising teams for software delivery, has little research behind it. A review covering scientific and grey literature found only two scientific papers and one grey-literature study on it (Ahmed & Colomo-Palacios, 2021). The authors attribute this to the concept’s novelty (Ahmed & Colomo-Palacios, 2021).
Further reading
- Conway (1968): the short original article, which states the thesis and the rule that a design effort should follow the need for communication.
- Colfer and Baldwin (2016): the review of 142 studies behind the mirroring hypothesis, with the firm and open-source counts and the explanation of open-source exceptions.
- Mauerer et al. (2021): a longitudinal study of 25 open-source projects that finds congruence unrelated to bugs and churn, and questions the weight given to Conway’s law.
- Nagappan et al. (2008b): the Windows Vista study in which organisational measures predicted failure-prone parts of the system better than code measures.
- Fowler (2022): a practitioner’s account of Conway’s law and the inverse Conway manoeuvre.
First published .
Known gaps
What this article cannot tell you yet.
- Experiments that assigned teams different communication structures and compared the designs they produced (Blatter and colleagues, 2013; a study at the Federal University of Pernambuco) could not be read, so no controlled test of Conway’s law is reported here.
- No empirical study of deliberately restructuring teams to change an architecture was found; the inverse Conway manoeuvre rests on practitioner advice.
- The matched-pair study by MacCormack, Rusnak and Baldwin was read only as an abstract.
- The individual open-source studies behind the review’s count of unmirrored projects were not read; the open-source exception rests on one author team’s classification.
- A study by Kamola reporting that popular open-source projects hardly obey Conway’s law could not be confirmed from its full text.
- Direct tests of mirroring inside closed industrial teams, beyond the review’s summary counts, were not researched.
References
- Solid source
- Rated highly trustworthy by the research, and every passage taken from it was found in it.
- Weak source
- Rated low, or a passage taken from it was not found in it.
- Medium trust
- Rated medium by the research.
- Not checked
- Rated high, but its passages could not all be checked against it.
Show all 8 references
- Ahmed, W., & Colomo-Palacios, R. (2021). Team Topologies in software teams: A multivocal literature review. Conference paper, Østfold University College. https://www.rcolomo.com/papers/399.pdf Medium trust Book, read in full.
- Betz, S., Moss, A., Wohlin, C., Smite, D., Afzal, W., Borstler, J., et al. (2012). An evolutionary perspective on socio-technical congruence: The rubber band effect. Workshop paper, Blekinge Institute of Technology. http://gorschek.com/wp-content/uploads/2019/11/RESER_RUBBER_BAND.pdf Medium trust Peer-reviewed, read in full.
- Colfer, L. J., & Baldwin, C. Y. (2016). The mirroring hypothesis: Theory, evidence, and exceptions. Industrial and Corporate Change, 25(5), 709-738. https://dash.harvard.edu/server/api/core/bitstreams/7312037e-7d64-6bd4-e053-0100007fdf3b/content Medium trust Peer-reviewed, read in full.
- Conway, M. E. (1968). How do committees invent? Datamation. https://www.melconway.com/Home/Committees_Paper.html Medium trust Read in full.
- Fowler, M. (2022). Conway's law. martinfowler.com. https://martinfowler.com/bliki/ConwaysLaw.html Medium trust Blog post, read in large part.
- MacCormack, A. D., Rusnak, J., & Baldwin, C. Y. (2011). Exploring the duality between product and organizational architectures: A test of the mirroring hypothesis. Harvard Business School Working Paper 08-039; published in Research Policy, 41(8), 2012. https://ideas.repec.org/p/hbs/wpaper/08-039.html Medium trust Abstract only.
- Mauerer, W., Joblin, M., Tamburri, D. A., Paradis, C., Kazman, R., & Apel, S. (2021). In search of socio-technical congruence: A large-scale longitudinal study. IEEE Transactions on Software Engineering (arXiv:2105.08198). https://arxiv.org/pdf/2105.08198 Solid source Preprint, read in full.
- Nagappan, N., Murphy, B., & Basili, V. R. (2008b). The influence of organizational structure on software quality: An empirical case study. Proceedings of the 30th International Conference on Software Engineering (ICSE 2008), ACM. http://www.cs.umd.edu/~basili/publications/proceedings/P125.pdf Solid source Peer-reviewed, read in full.