Anteprima
Vedrai una selezione di 4 pagine su 14
Serverless Computing for IoT Pag. 1 Serverless Computing for IoT Pag. 2
Anteprima di 4 pagg. su 14.
Scarica il documento per vederlo tutto.
Serverless Computing for IoT Pag. 6
Anteprima di 4 pagg. su 14.
Scarica il documento per vederlo tutto.
Serverless Computing for IoT Pag. 11
1 su 14
D/illustrazione/soddisfatti o rimborsati
Disdici quando
vuoi
Acquista con carta
o PayPal
Scarica i documenti
tutte le volte che vuoi
Estratto del documento

SERVERLESS COMPUTING FOR IOT - APPUNTICORSO LAUREA MAGISTRALE - CLOUD COMPUTING

1. INTRODUZIONE ......................................................................................................................................... 3

2. CLOUD COMPUTING ................................................................................................................................. 4

3. AMAZON WEB SERVICES .......................................................................................................................... 7

3.1. Infrastruttura .................................................................................................................................... 7

3.1.1. Access to services ...................................................................................................................... 7

3.1.2. Computing ................................................................................................................................. 7

  • Storage/DB ................................................................................................................................ 73.1.4.
  • Networking ................................................................................................................................ 83.1.5.
  • Developer Tools ........................................................................................................................ 83.1.6.
  • Migration ................................................................................................................................... 83.1.7.
  • Management ............................................................................................................................. 83.1.8.
  • Security ...................................................................................................................................... 83.1.9.
  • Analitycs ....................................................................................................................................
  1. 83.1.10. AI
  2. 83.1.11. Mobile
  3. 83.1.12. IoT
  4. 83.2. Microservizi
  5. 94. INTERNET OF THINGS
    1. 104.1. Architecture
    2. 104.2. Resources and data
  • 104.3. Fog Computing
  • 114.4. MQTT
  • 115. VIRTUALIZZAZIONE
    • 125.1. Virtualization
    • 125.3. Container-based
    • 125.4. Docker
  • 135.5. DevOps
136.

SERVERLESS COMPUTING

1421.

INTRODUZIONE

The evolution over the past 30 years is moving from HPC to HTC because the number of high demand concurrent Internet users is growing rapidly.

High-performance computing (HPC):

is a paradigm which aims to raw speed performance, also measured by floating-point speed. They are mainly used for scientific, engineering and research reasons, but are not suitable for today's demand.

High-throughput computing (HTC):

is a paradigm which pays more attention to high-flux computing, where the main applications are Internet searches and web services by millions of users simultaneously. So, the performance goal is now high throughput (number of tasks completed per unit of time). In the years different computing paradigms have born:

Centralized computing:

is a paradigm where all resources are centralized in one physical system. So, all
  1. Resources (processors, memory and storage) are tightly coupled and fully shared in one integrated OS
  2. Parallel computing: is a paradigm where all processors are either tightly coupled with a centralized shared memory or instead loosely coupled with a distributed memory
  3. Distributed computing: is a paradigm composed of multiple autonomous computers (each with its own private memory) that communicate through a computer network
  4. Cloud Computing: is an Internet cloud of resources which can be either a centralized or a distributed system (datacenter), which can use a parallel, a distributed or both types of computation

Degrees of parallelism:

  1. Bit-level parallelism = is based on incrementing the processor word size, reducing the number of instructions required to perform an operation on variables whose sizes are greater than the word size (4, 8, 16, 32, 64 bit)
  2. Instruction-level parallelism = the processor executes multiple instructions simultaneously with technique such as pipelining or
  • Data-level parallelism = the same task is executed on distributed data across processors
  • Task-level parallelism = different tasks are executed on the same data
  • Job-level parallelism = different independent jobs are executed across process

Any new technology may go through a hype cycle called Gartner hype cycle composed by 5 phases which describes its expectations:

  1. Technology Trigger = a new potential technology arrives and some early proofs-of-concept appear
  2. Peak of inflated expectations = the early publicity produces a high number of expectations
  3. Period of disillusionment = when implementations start to fail and the interest starts to get lower and lower
  4. Period of enlightenment = more examples on how the new technology can benefit enterprises arrive and become more widely understood
  5. Period of productivity = the mainstream adoption starts to take off, its market will grow up

System models for distributed computing:

  • Clusters = consists of interconnected
stand-alone computers (loosely coupled, with their own OS) which cooperate as a single integrated system thanks to a high-bandwidth interconnection network Grid Computing = is a bigger infrastructure that couples computers and software or middlewares. It is composed by workstations, servers, clusters and supercomputers, but it can be accessed with personal computers, laptops and PDAs (it has a static resources allocation while cloud has dynamic elastic allocation) P2P systems = it is a system where every node acts both as a client and as a server, providing part of its resources to the system. So, there is no master nodes or any central coordination and the nodes are free to leave or join when they want. We can define two networks in it: the physical network (the actual physical interconnection of the devices) and the overlay network (a virtual network based on how the nodes communicate with each other) Programming models for distributed computing: MPI, mapreduce, hadoop The quality of

services in distributed systems are evaluated based on different metrics (also design goals):

  • Performance metrics = we have to think in a broader sense (senso più ampio), so the system throughput is measured in MIPS, Tflops or TPS. Others are job response time and network latency
  • Scalability metrics = we want good scalable performance in different dimensions: size (more resources), software (upgrading OS, compilers, adding libraries) and application (matching the problem size with the resources size), Technology scalability is when the system can be adapted to changes in construction technologies, while the time scalability refers to the scalability of generation, for example when moving to next generation processors, we must considerate the impact on the motherboard, the space scalability is related to packaging eto energy concerns, heterogeneity refers to the use of hardware or software components from different vendors. Scalability and OS images scalable performance they are
oftenestimated respect to the multiplicy of OS images in a distributed system. System Availability = we want a system that has a long mean time to failure and a short mean time to repair. Un consiglio è quello di progettare un sistema senza un singol point offailure (qualsiasi guasto hardware o software che tirerà giù l'intero sistema), addinghardware redundancy, increasing component reliability and continuous software tests. Security treat: Loss of confidentiality (information leakage), loss of integrity (integrityviolation), loss of availability (DOS), improper authentication (illegitimate use) Energy Efficiency 2. CLOUD COMPUTING Cloud Computing: refers to both the applications and the hardware resources or system softwaresin the datacenters delivered as services over the internet. Utility computing: is like a business modelin which customers receive computing resources from a paid service provider Enablers factor:decrease in the cost of electricity,

network bandwidth, operations, software and hardware.

Why it is convenient to go to the Cloud:

  1. because peaks of over-use and under-use are managed;
  2. doesn't need to make predictions for demand;
  3. allows you to scale with an immediate return on performance.

Novità del cloud computing: through the virtualization of resources we are able to achieve elasticity and the illusion of infinite capacity (horizontal scalability) available on demand, with the possibility of self-provisioning, and finally the pay for use (pay only for what you use) and increase of resources when needed and release resources when not in use.

Objectives while building such technology:

  • Moving computing from desktops to data centers
  • Scalability in performance (as the number of users increases) = Elasticity
  • A new cost model (pay-as-you-go)
  • Data privacy protection
  • High quality of cloud services (QoS must be standardized)
Dettagli
Publisher
A.A. 2020-2021
14 pagine
SSD Scienze matematiche e informatiche INF/01 Informatica

I contenuti di questa pagina costituiscono rielaborazioni personali del Publisher marsan94 di informazioni apprese con la frequenza delle lezioni di Serverless Computing for IoT e studio autonomo di eventuali libri di riferimento in preparazione dell'esame finale o della tesi. Non devono intendersi come materiale ufficiale dell'università Università degli Studi di Salerno o del prof Scarano Vittorio.