Edge Computing
Tags: edgecomputing, edgedevices
Published: 2021-05-27 20:06:55

&quot;_Edge Computing&quot;_, that&#39;s a deceptively catchy term, ain&#39;t it? Computing on the edge, that the phrase literally translates to, invokes interesting and novel interpretations. Nevertheless, the concept of Edge Computing is at least a few years old and was born out of the technological advancements that enabled more powerful devices at the edge of the network - devices close to where data is generated.

**History**

Let&#39;s look at the march of progress in applications and their nature

![alt text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6qsv9p0gey21zt9udezd.png)

The dawn of commercial computing arrived with mainframes around 1960 and the nature of computing was centralized. Client-Server model was the next big thing in the way computing is performed and was predominantly adopted from 1980 to early 2000&#39;s. Then came the cloud era from 2006 onwards that fundamentally brought back the centralized computing, putting virtually infinite computing capacity up for sale. In the last few years internet connected devices entered the stage. These IOT devices are capable of doing more than their core function as they have excess computing capacity that can be utilized. Consider mobile phones, smart cars, surveillance cameras, all kinds of sensor devices. It is these devices that are the enabling edge computing.

**Why Edge Computing?**

With the proliferation of IOT devices, huge amounts of data is generated by millions of devices and that data needs to be sent to centralized servers/cloud for processing. This is pushing the limits of network infrastructure. It is projected that by 2025 there will be over **41 million IOT devices** in the field and they will [generate over 79 zettabytes of data](https://www.zdnet.com/article/iot-devices-to-generate-79-4zb-of-data-in-2025-says-idc/). 1 zettabyte = 1012 GB. That&#39;s massive amount of data and is only going to increase with time.

&quot;_Sending massive amount of data generated by billions of IOT devices on the edge to centralized servers/cloud is prohibitive in terms of network bandwidth, latency and cost.&quot;_

The devices on the edge need to be equipped with computing power so the data that is being generated can be analyzed at the device itself. In a way the _data center is moving to the edge_. Consider the following cases

**Self-driving cars**

In the car there is an assortment of sensors that produce lot of data per second. The car&#39;s _brain_ needs to make decisions based on the data generated by sensors in real time, there is just not enough time to send data to cloud and act based on the response.

![alt text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/paz5zkg0vamj1bklxnzj.png)
 
It is [estimated](https://www.intel.com/content/dam/www/public/us/en/documents/white-papers/automotive-autonomous-driving-vision-paper.pdf) that self-driving car&#39;s onboard real-time operating system will have to process approximately 1 GB data per second. 

**Surveillance cameras**

The way surveillance cameras have traditionally worked is they record and upload the footage to a central server which can then be analyzed. With edge computing real time video analytics can be performed on the camera itself. This is enabled by building compute and storage capacity in the camera.

![alt text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2k2e3z0kxw7oqrr8z8z1.png)

Today&#39;s IP cameras increasingly have the processing power to run AI- or deep learning-based analytics and algorithms such as facial recognition. The benefits of processing data on the camera has the following benefits

- Low bandwidth consumption
- Faster/real-time response

Above are just two examples of how edge computing is transforming how and where the data is processed. There are numerous other use cases for edge computing like smart cities, smart factories, smart airplanes, etc.

**Will this diminish the cloud?**

While it may seem that edge computing is going to take away the need for cloud computing, it is really taking away only part of the work done at the cloud. Cloud will still provide for management, non-time sensitive analytics and durable storage of data while real-time processing being done at the edge. The edge devices will only send a subset of all data generated – data that is needed at the cloud. The emergence of 5G network is a critical piece in this equation.

All of the three major cloud providers have already released services catering to the need of edge computing devices.

**Azure**

- [Azure IoT Edge](https://azure.microsoft.com/en-in/services/iot-edge/)
- [Azure Stack Edge](https://azure.microsoft.com/en-in/products/azure-stack/edge/)
- [Azure Edge Zones](https://azure.microsoft.com/en-in/blog/microsoft-partners-with-the-industry-to-unlock-new-5g-scenarios-with-azure-edge-zones/)

**AWS**

- [Lambda@Edge](https://aws.amazon.com/lambda/edge/)
- [AWS Snowball](https://aws.amazon.com/snowball/)
- [AWS IoT for the Edge](https://aws.amazon.com/iot/solutions/iot-edge/)

**GCP**

- [Google Cloud IoT](https://cloud.google.com/solutions/iot)
- [Edge TPU](https://cloud.google.com/edge-tpu)