Fog Computing Vs Cloud Computing The Role in IoT
Fog Computing Vs Cloud Computing

Fog computing is the extension of cloud computing. Cisco developed the network of Fog computing in 2014. Fog computing is also renown as Edge computing or fogging. It facilitates the process of the computer, networking services, and storage between cloud computing data centers and end devices. Fog computing makes the process of IoT more easy and efficient of cloud data processing.

Cloud computing process the data of a remote server across the internet. It manages, stores and uses data from a local computer. When the user thinks that it is easy to use the vendor’s computer, service and storage then cloud computing fulfill the demand of the user. In cloud computing, there are Sass, IaaS and PaaS service. On the other hand, several types of a network like private cloud, public cloud, and hybrid cloud are available there.

IoT is elaborate as the internet of things. The concept of IoT is each and every device connects to the internet and a server. The process can be used through fog computing or cloud computing. When the end user sends a request to the server through his/her smart gadget then the order will execute from anywhere in the world. Actually, IoT has the same concept of for computing or cloud computing.


Fog Computing Vs Cloud Computing

Though Fog Computing and Cloud Computing seem to be the same there is a lot of difference. Some of the differences are as follow. We consider also the IoT review to make the differentiation:


Fog computing network has low latency. On the other hand, Cloud Computing has low latency but not so much low as Fog Computing.


The main benefit of fog computing that it reduces the volume of data sent to cloud computing. Cloud computing is just to keep the backup. It does not reduce any data.


Fog Computing protects the volume of bandwidth. On the other hand, Cloud computing saves less compared with Fog Computing.


In Fog Computing, the response time of the system is very high. In contrast, In Cloud Computing, the Response time of the system is low.


Fog computing has high Security. On the other hand, security of cloud computing is high but less compared to Fog Computing


The first one is high even more compared to the second one. It depends on the VM connectivity.

Data Integration:

In Fog, multiple Data devices and Source can be integrated. In the cloud, multiple data sources can be integrated.

Fog Computing Vs Cloud Computing: The Role in IoT
Fog Computing Vs Cloud Computing: The Role in IoT


How fog computing works

The entire process of fog computing happens inside a data hub on a smart gadget. This techniques is useful at IoT or internet of things by using sensor. Where there is huge volume of data and not enough to give away all the data then the bunch of sensors causes the cloud for analysis and process. There is a great requirement of bandwidth in cloud computing but fog need less.

The high-end device and sensors produce data and do not have the storage capacity to analysis task and machine learning. Although, cloud server has that power to process but needs time to get the response from the cloud server. At the endpoint, the collection and sending of data from the cloud server are managed by different countries. Data security and confidentiality may lose if the hostile country wants.

In foggy computing, the processing occurs in the data hub on an intelligent gateway, intelligent router or intelligent device. The fact is, cloud computing component remains the same, no change on its configuration. Finally, the fog server transmits data to a cloud server. So fog computing is called the extension of cloud computing.


How cloud computing works

Cloud computing can break down into two sections: front end and back end. It is connected with network over internet.  The front end is consumer end or client computer. The back end is connected with cloud server.

The client computer that means the front end requires software application to access the computer processing system. It is not required to have all the client device same application or same interface. At the cloud server end varieties of the cloud server, data storage systems and different network make up the “Cloud”.

Different software as a service, infrastructure as a service and developing the platform as a service known as cloud computing. Real-time video games, business intelligence software are examples of cloud computing.


Pros of Cloud computing

Lower Cost:

In cloud computer application run in cloud so need less hardware cost. The desktop does not need any extra processing power.

Improve performance:

In cloud computing the processing speed is high. So the performance is high. It takes a few memory to process.

Reduce software cost:

In cloud computing software can be taken as a rental basis. Software as a service can reduce the cost of your organization.

Up-to-Date Software:

Cloud computing service providers offer various high-cost software. Since they specialized, so all the software are up-to-date.

Improved Document Format Compatibility:

The vendors takes money so it is their responsibility to provide all support. The device support all the document format.


Cons of cloud computing

Common infrastructure restriction:

In cloud computing you get access all the global linked available resource. You have to experience with “Noisy Neighbor” in this process. However private cloud can reduce the risk. Internet connection is another vital factor which have to address.

Security issue:

The recent iCloud resk is obviously anxious. Advanced encryption and firewall systems can solve this problem.


Pros of Fog computing

Both the computing have some benefit but the fog has something different. The advantage of for computing compare to cloud computing are:
• Minimize latency: This computing minimizes latency than any other computing.
• Conserve network bandwidth: Compare to other cloud network fog is more Conserve network bandwidth.
• Address security concerns: Security is the vital concern for at all level of the network. So fog is more repayable for security.
• Fog computer operate reliably with quick decisions
• This computing collect and secure the wide range of data
• Fog move data to the best place for processing
• Another vital advantage is lower expenses of using high computing power using less bandwidth
• Better analysis and insights of local data


Cons of Fog computing

Physical location:

In cloud computing all the data is accessible from anywhere from the world. But in fog computing there is a restriction of sharing data.


In fog computing, there is a different platform. Some expert things that there is a safety issue of data on the decentralized network.


There is a lot of network like private, public, hybrid, different protocol makes confusion to the general mind.


The Role in IoT:

Fog computing and cloud computing both are used in IoT. The pros and cons of both is the best explanation of IoT requirement. When  the speed is first priority then  fog computing is must. On the other hand, where data need more security there need cloud computing of IoT. Moreover for computing is device to device network but cloud computing is server to server network. In IoT people are more focusing on fog computing.