Swiftorial Logo
Home
Swift Lessons
Matchups
CodeSnaps
Tutorials
Career
Resources

Edge Computing Tools

Introduction to Edge Computing

Edge computing refers to the practice of processing data near the edge of the network, where the data is generated, rather than in a centralized data-processing warehouse. This approach is critical in scenarios where latency is vital, and immediate data processing is required. Tools and frameworks in edge computing help manage and deploy applications closer to the data source.

Popular Edge Computing Tools

Several tools are widely used in the industry to facilitate edge computing. These tools help in deploying, managing, and scaling edge applications. Below are some of the most popular edge computing tools:

1. AWS IoT Greengrass

AWS IoT Greengrass is an edge computing service that extends AWS to edge devices so they can act locally on the data they generate while still using the cloud for management, analytics, and durable storage. Greengrass ensures your devices can respond quickly to local events, operate with intermittent connectivity, and minimize the cost of transmitting IoT data to the cloud.

3. Google Cloud IoT Edge

Google Cloud IoT Edge extends Google Cloud’s data processing and machine learning to billions of edge devices, such as robotic arms, wind turbines, and oil rigs, with the power of Google’s TensorFlow Lite. This tool enables you to run machine learning models on edge devices, manage edge device software, and gain insights from the edge.

Example: Setting up Google Cloud IoT Edge

To set up Google Cloud IoT Edge, follow these steps:

  1. Go to the Google Cloud Console.
  2. Create a new project or select an existing project.
  3. Enable the Cloud IoT API.
  4. Register your edge device.
  5. Deploy your application or machine learning model to the device.

4. OpenFog Consortium

The OpenFog Consortium is a global nonprofit organization working to standardize and promote fog computing, an architecture that uses edge devices to carry out a substantial amount of computation, storage, and communication locally and routed over the internet backbone.

Example: Using OpenFog reference architecture

The OpenFog reference architecture defines the necessary components to build a fog computing ecosystem. It includes hardware, software, and networking components:

  • Hardware: Edge devices, sensors, and actuators.
  • Software: Middleware, analytics, and control applications.
  • Networking: Communication protocols and cloud connectivity.

5. EdgeX Foundry

EdgeX Foundry is a vendor-neutral open-source project hosted by the Linux Foundation that aims to build a common open framework for IoT edge computing. It provides a flexible architecture that accommodates a wide range of use cases and hardware.

Example: Running EdgeX Foundry locally

To run EdgeX Foundry, you can use Docker containers:

docker-compose -f docker-compose-hanoi-redis.yml up -d
Creating network "edgexfoundry_edgex-network" with the default driver
Creating volume "edgexfoundry_dbdata" with default driver
Creating volume "edgexfoundry_consuldata" with default driver
...
                    

Conclusion

Edge computing is becoming increasingly important as the Internet of Things (IoT) continues to grow. By using the right tools and frameworks, you can effectively deploy and manage applications that require low latency and high data throughput. AWS IoT Greengrass, Microsoft Azure IoT Edge, Google Cloud IoT Edge, OpenFog Consortium, and EdgeX Foundry are some of the leading tools that can help you achieve your edge computing goals.