What is edge computing and how does it differ from cloud computing
· Category: Cloud Computing
Short answer
Edge computing processes data closer to where it's generated — at the "edge" of the network — instead of sending it to a centralized cloud data center. This reduces latency from hundreds of milliseconds to single digits. Cloud computing centralizes processing in large data centers; edge computing distributes it. For how CDNs fit into this picture, see how CDNs speed up content delivery.
How it works
Traditional cloud: device → internet → cloud data center → process → send back → device. Round trip: 50–200ms.
Edge computing: device → nearby edge node → process → send back → device. Round trip: 1–10ms.
Edge nodes are small data centers placed at cell towers, ISP points of presence, or on-premises locations. They run compute workloads locally and only send aggregated data to the central cloud.
Key differences
| Factor | Cloud computing | Edge computing |
|---|---|---|
| Latency | 50–200ms | 1–10ms |
| Location | Centralized data centers | Distributed at network edge |
| Bandwidth | High (all data travels to cloud) | Low (process locally, send summaries) |
| Use case | Batch processing, storage, analytics | Real-time, IoT, autonomous systems |
| Cost model | Pay for compute + storage | Pay for edge nodes + cloud sync |
When to use each
- Use cloud for: data warehousing, machine learning training, web hosting, user-facing applications
- Use edge for: autonomous vehicles, real-time video analytics, IoT sensor processing, AR/VR applications
Many architectures use both: edge for real-time decisions, cloud for long-term storage and model training.
Tips
- Start with cloud and add edge only when latency requirements demand it
- Edge doesn't replace cloud — it complements it. For choosing providers, see how to choose a cloud provider
- Consider how caching improves system performance as a simpler alternative before investing in edge infrastructure