Point-to-point vs hub-and-spoke
Every integration landscape has a shape. In a point-to-point landscape, each system connects directly to each system it needs. In a hub-and-spoke landscape, systems connect only to a central hub, which routes and transforms messages between them. Most of the history of enterprise integration, from message brokers to the ESB to API-led connectivity, is about moving between these two shapes and finding a balance.
Diagram
Section titled “Diagram”- Point-to-point, each pair of systems that exchange data has its own connection, format and error handling.
- Hub-and-spoke, each system connects once, to the hub, which routes and translates between them.
How they scale
Section titled “How they scale”With n systems that all need to talk to each other, point-to-point needs up to n × (n − 1) / 2 connections: 10 systems need up to 45, and 50 systems up to 1,225. A hub needs n. Real landscapes aren’t fully connected, but the growth explains why large point-to-point estates become hard to change: nobody knows every consumer of a system’s data, so nothing can be changed safely.
At a glance
Section titled “At a glance”| Aspect | Point-to-point | Hub-and-spoke |
|---|---|---|
| Connections | Grow quickly with the number of systems | One per system |
| Latency and simplicity | Lowest: one hop, no intermediary | An extra hop |
| Visibility | Spread across many systems | Central: one place to see flows |
| Change impact | Changing a system may break unknown consumers | Hub can translate, shielding consumers |
| Shared dependency | None | The hub; if it fails, everything stops |
| Ownership | Each team owns its connections | Often a central integration team |
| Typical failure | The “spaghetti” no one dares change | The bottleneck team and fragile hub |
Choose point-to-point when
Section titled “Choose point-to-point when”- Only a few systems are involved and that’s unlikely to change.
- Latency matters and an extra hop isn’t acceptable.
- The connection uses a well-designed, versioned API that serves many consumers anyway. A good API called directly by its consumers is point-to-point, and that’s fine.
Choose a hub when
Section titled “Choose a hub when”- Many systems need the same data in different formats.
- Legacy systems speak different protocols that need translating.
- You need central visibility, monitoring and control of flows.
What most organizations do
Section titled “What most organizations do”The modern answer combines both: well-designed APIs and event streams owned by the teams that own the data, consumed directly (point-to-point in shape, but with contracts), plus shared infrastructure for the cross-cutting work: an API gateway for security and policy, an event streaming platform for distributing events, and an integration platform for legacy and SaaS connectivity. What’s centralized is the platform, not the business logic.
Common pitfalls
Section titled “Common pitfalls”- No inventory of integrations, so the impact of a change can’t be assessed in either model.
- Business rules in the hub, where only the integration team can see or change them.
- Shared database integration, where systems read each other’s tables: the worst form of point-to-point, because the contract is the internal schema.
Related patterns
Section titled “Related patterns”Written and edited by Abhinav Taduka, enterprise software architect.
New pages are added regularly. Follow Abhinav on LinkedIn to see them first.