notesonly.in

One notebook for every subject — open it anywhere.

Log in

Edge Computing Basics: Complete Beginner's Guide Guide.

Edge computing means processing data close to where it is created — on the device itself or a nearby local server — instead of sending everything to a far-away cloud data centre. The "edge" is the network's outer boundary: factory floors, shop cameras, cars, phones, cell towers. A camera that detects a person on its own chip instead of streaming video to the cloud is doing edge computing.

It matters because sending data to the cloud takes time and bandwidth. A self-driving car cannot wait 200 milliseconds for a cloud server to say "brake now", and a factory with 500 cameras cannot afford to upload all that video. Edge computing cuts the delay and keeps private data local.

Key Concepts

  • Edge device — hardware at the edge: sensors, cameras, phones, or small computers like a Raspberry Pi or industrial gateway.
  • Edge node — a more powerful computer near the devices, e.g. one server per factory floor, aggregating and analysing data for a whole site.
  • Latency — round-trip delay for data to travel to a processor and back. Cloud trips are often 50–200 ms; a local edge node answers in 1–10 ms.
  • Fog computing — a related idea spreading processing across a hierarchy of nodes between devices and cloud, not only at the extreme edge.
  • Edge AI — running models like object detection directly on edge hardware, so decisions happen instantly and offline.

Formulas

  • Round-trip time: RTT ≈ 2 × (distance / signal speed) + processing. Light in fibre travels about 200 km per millisecond, so a server 2,000 km away adds at least 20 ms of pure travel time each way.
  • Daily upload: GB per day = bitrate (Mbps) × 86,400 / 8,000. A camera at 5 Mbps uploads 5 × 86,400 / 8,000 = 54 GB per day.
  • Control-loop budget: sensor time + network time + compute time + actuator time must stay under the deadline. A robot arm needing a 20 ms reaction cannot use a cloud link with 120 ms RTT.

Worked Example

A factory camera inspects bottles at 5 Mbps video. The cloud is 120 ms away (round trip); a local edge server answers in 5 ms. The decision must happen within 40 ms. Which works, and how much bandwidth does edge save daily?

  1. Cloud: 120 ms network time alone exceeds the 40 ms deadline — it fails before processing even starts.
  2. Edge: 5 ms round trip leaves 35 ms for AI inspection, which fits easily.
  3. Raw upload = 5 × 86,400 / 8 = 54,000 MB = 54 GB per day.
  4. The edge sends only "defect found" events, about 10 MB per day — saving roughly 53.99 GB per camera per day.

Common Misconceptions

  • "Edge computing replaces the cloud." It partners with it: the edge handles fast local decisions; the cloud still stores history, trains models and serves dashboards.
  • "Edge hardware must be supercomputers." Edge ranges from a microcontroller running keyword-spotting to a rack of GPUs — the right size depends on the deadline and the job.

Real-World Applications

  • Autonomous vehicles: cars process lidar and camera data on board in milliseconds — waiting for the cloud would be fatal.
  • Retail: store cameras count shoppers and detect empty shelves locally, sending only counts and alerts upward.
  • 5G networks: base-station edge servers keep cloud gaming and video calls under 20 ms.

Edge computing is a simple trade: do the urgent work where the data is born, and let the cloud do the heavy, slow work it is good at. Whenever a deadline is measured in milliseconds or bandwidth in terabytes, the edge is where the answer lives.