# Edge computing

> Processing data close to where it is created, instead of in a distant data center.

- Level: Intermediate
- Topics: Cloud, Networks
- URL: https://tidbit.legios.com.ar/edge-computing/
- In Spanish: [Edge computing](https://tidbit.legios.com.ar/es/edge-computing/)

**Edge computing** means running computation near the people or devices that need it, at the "edge" of the network, rather than sending everything to a big data center hundreds or thousands of kilometers away. The edge can be a small server in a factory or a store, equipment in a mobile network tower, a city-level point of presence, or the device itself: a camera, a car or a phone.

The main reasons are physics and volume. Every trip to a distant data center adds latency, and some decisions cannot wait: a factory robot that must stop when a person walks in front of it, or a car reacting to the road. Other times the problem is sheer data: a set of security cameras produces far too much video to upload, so it is analyzed on site and only the alerts go to the cloud. Keeping data local can also help with privacy rules and keep working when the internet connection drops.

Edge and cloud work together; the edge does not replace the cloud. A common split is: react locally, then send summaries to the cloud for storage, analytics and training models. Cloud providers offer edge options, from functions that run in CDN locations close to users, to hardware they install in your own building. The trade-off is many small, scattered machines that are harder to update, secure and monitor than a few big ones.

## An analogy

A first-aid kit in every office versus one big hospital across town. Small cuts are handled on the spot in seconds; only the serious cases make the long trip to the hospital.

## Keep in mind

- Computes near the data source: in a store, a factory, a tower or on the device.
- Cuts latency and the amount of data sent over the network.
- Works with the cloud: react locally, send summaries centrally.
- Many scattered machines are harder to update, secure and monitor.

## Go deeper

- [What is edge computing? (AWS)](https://aws.amazon.com/what-is/edge-computing/)
- [Edge computing on Wikipedia](https://en.wikipedia.org/wiki/Edge_computing)

## Related terms

- [Big data](https://tidbit.legios.com.ar/big-data/): Data so large, fast or messy that one ordinary computer cannot handle it.
- [Server](https://tidbit.legios.com.ar/server/): A computer whose job is to answer requests from other computers, all day, every day.
- [Data center](https://tidbit.legios.com.ar/data-center/): A building full of servers where the internet, the cloud and AI actually run.
- [Bandwidth and latency](https://tidbit.legios.com.ar/bandwidth-and-latency/): How much data fits per second, and how long each trip takes. Two different things.
- [Cloud computing](https://tidbit.legios.com.ar/cloud-computing/): Renting computers over the internet instead of buying your own.
- [Internet](https://tidbit.legios.com.ar/internet/): A worldwide network of networks that lets any connected device reach any other.
- [Training and inference](https://tidbit.legios.com.ar/training-and-inference/): Training builds the model once; inference is using it, millions of times a day.
- [CDN](https://tidbit.legios.com.ar/cdn/): Copies of a website kept on servers around the world, close to whoever asks.
