Survey
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
CLOUD COMPUTING AND FOG COMPUTING Cloud Computing Cloud computing is a type of Internet-based computing that provides shared computer processing resources and data to computers and other devices on demand. Cloud computing is a model for enabling ubiquitous, on-demand access to a shared pool of configurable computing resources (e.g., computer networks, servers, storage, applications and services), which can be rapidly provisioned and released with minimal management effort. Cloud Computing The availability of virtually unlimited storage and processing capabilities at low cost enabled the realization of a new computing model, in which virtualized resources can be leased in an on-demand fashion, being provided as general utilities (公共设施). Large companies (like Amazon, Google, Facebook, etc.) widely adopted this paradigm for delivering services over the Internet, gaining both economical and technical benefits. Cloud Computing The architecture of Cloud can be split into four layers: datacenter (hardware), infrastructure, platform, and application. Each of them can be seen as a service for the layer above and as a consumer for the layer below. In practice, Cloud services can be grouped in three main categories: • Software as a Service (SaaS), • Platform as a Service (PaaS), and • Infrastructure as a Service (IaaS). Cloud Computing • SaaS refers to the provisioning of applications running on Cloud environments. Applications are typically accessible through a thin client or a web browser. • PaaS refers to platform-layer resources (e.g., operating system support, software development frameworks, etc.). • IaaS refers to providing processing, storage, and network resources, allowing the consumer to control the operating system, storage and applications. Cloud paradigm: an overall view Cloud Computing • Economical advantages. Cloud computing model is attractive since it frees the business owner from the need to invest in the infrastructure (CAPEX), renting resources according to needs and only paying for the usage. Moreover, it allows to decrease operating costs (OPEX), as service providers do not have to provision capacities according to peak load (in fact, resources are released when service demand is low). Finally, the outsourcing of the service infrastructure to the Clouds shifts the business risk towards the infrastructure provider, generally better equipped to manage it. Cloud Computing • Technical advantages. In addition to such economical advantages, Cloud computing guarantees a number of technical benefits, including: energy efficiency, optimization of hardware and software resource utilization, elasticity, performance isolation, and flexibility. Cloud and IoT The two worlds of Cloud and IoT have seen a rapid and independent evolution. These worlds are very different from each other and, even better, their characteristics are often complementary. Cloud and IoT Cloud can offer an effective solution for IoT service management and composition as well as for implementing applications and services that exploit the things or the data produced by them. On the other hand, Cloud can benefit from IoT by extending its scope to deal with real world things in a more distributed and dynamic manner, and for delivering new services in a large number of real life scenarios. In many cases, Cloud can provide the intermediate (中间 的) layer between the things and the applications, hiding all the complexity and functionalities necessary to implement the latter. Services made possible thanks to the Cloud&IoT paradigm Source: http://siliconangle.com/. Cloud and IoT Over the past decade, moving computing, control, and data storage into the cloud has been an important trend. In particular, computing, storage, and network management functions are shifted to centralized data centers, backbone IP networks, and cellular core networks. Today, however, Cloud computing is encountering growing challenges in meeting many new requirements in IoT. IoT Challenges A. Stringent Latency Requirements Many industrial control systems, such as manufacturing systems, often demand that end-toend latencies between the sensor and the control node stay within a few milliseconds. Many other IoT applications, such as drone flight control applications, and real-time financial trading applications, may require latencies below a few tens of milliseconds. These requirements fall far outside what mainstream cloud services can achieve. IoT Challenges B. Network Bandwidth Constraints The vast and rapidly growing number of connected things is creating data at an exponential rate. A connected car, for example, can create tens of megabytes of data per second. This will include data about: 1) the car’s mobility such as its routes and speeds; 2) the car’s operating conditions such as the wear and tear on its components; 3) the car’s surrounding environment such as road and weather conditions; and 4) videos recorded by the car’s safety cameras. Sending all the data to the cloud will require prohibitively high network bandwidth. IoT Challenges C. Resource-Constrained Devices Many IoT devices will have severely limited resources. Many resource-constrained devices will not be able to rely solely on their own limited resources to fulfill all their computing needs. Requiring all of them to interact directly with the cloud will be unrealistic and cost prohibitive as well, because such interactions often require resource-intensive processing and complex protocols. Fog Computing Filling the technology gaps in supporting IoT will require a new architecture—Fog—that distributes computing, control, storage, and networking functions closer to end user devices along the cloud-to-things continuum. Fog Computing Complementing the centralized cloud, Fog stands out along the following three dimensions: 1) Carry out a substantial amount of data storage at or near the end user (rather than storing data only in remote data centers). 2) Carry out a substantial amount of computing and control functions at or near the end user (rather than performing all these functions in remote data centers and cellular core networks). 3) Carry out a substantial amount of communication and networking at or near the end user (rather than routing all network traffic through the backbone networks). Fog architecture source: Cisco MAIN CHARACTERISTICS OF FOG AND HOW IT COMPLEMENTS CLOUD Cloud Fog Location and model of computing Centralized in a small number of big data centers Often distributed in many locations, potentially over large geographical areas, closer to users. Distributed Fog nodes and systems can be controlled in centralized or distributed manners. Size Cloud data centers are very large in size, each typically contain tens of thousands of servers. A Fog in each location can be small (e.g., one single fog node in a manufacturing plant or onboard a vehicle) or as large as required to meet customer demands. A large number of small Fog nodes may be used to form a large Fog system. Deployment Require sophisticated deployment planning. While some Fog deployments will require careful deployment planning, Fog will enable ad-hoc deployment with no or minimal planning. MAIN CHARACTERISTICS OF FOG AND HOW IT COMPLEMENTS CLOUD Cloud Fog Operation Operate in facilities and environments selected and fully controlled by cloud operators. Operated and maintained by technical expert teams. Operated by large companies. May operate in environments that are primarily determined by customers or their requirements. A Fog system may not be controlled or managed by anyone and may not by operated by technical experts. Fog operation may require no or little human intervention. May be operated by large and small companies, depending on size. Applications Support predominantly, if not only, cyber-domain applications. Typically support applications that can tolerate round-trip delays in the order of a few seconds or longer. Can support both cyber-domain and cyber-physical systems and applications. Can support significantly more timecritical applications that require latencies below tens of milliseconds or even lower. MAIN CHARACTERISTICS OF FOG AND HOW IT COMPLEMENTS CLOUD Internet connectivity and bandwidth requirements Cloud Fog Require clients to have network connectivity to the Cloud for the entire duration of services. Long-haul network bandwidth requirements grow with the total amount of data generated by all clients Can operate autonomously to provide uninterrupted services even no or intermittent Internet connectivity. Long-haul network bandwidth requirements grow with the total amount of data that need to be sent to the Cloud after being filter by the Fog Fog interfaces [2] Shred and spread (CYRUS project) shreds (撕碎) files in fog and spreads them over multiple clouds. Meta-data privacy control takes place in fog, while scalable storage remains in cloud. Reference [1] Botta A, De Donato W, Persico V, et al. Integration of Cloud computing and Internet of Things[J]. Future Generation Computer Systems, 2016, 56(C): 684-700. [2] Chiang M, Zhang T. Fog and IoT: An Overview of Research Opportunities[J]. IEEE Internet of Things Journal, 2016, 3: 854-864.