You are on page 1of 72

20AD3102 - Cloud Computing

Cloud Applications

Dr. Elangovan G M.E., Ph.D


Associate Professor

Department of Artificial Intelligence and Data Science


Koneru Lakshmaiah Education Foundation
(Deemed to be University)
Green fields, Vaddeswaram, AP-522502, India
Overview of Cloud Computing
Introduction to Cloud Computing
History of Cloud computing
Cloud computing elements
Essential characteristics
Cloud service models
Cloud deployment models
NIST cloud computing reference architecture
ITU-T cloud computing reference architecture
 Network requirements for cloud computing
04/08/2022 20AD102 CC Dr. E G R, AI & DS, KLEF 2
Cloud Applications
• Scientific Applications
• Health care
• Geoscience
• Biology
• Business and Consumer Applications
• CRM and ERP
• Social Networking
• Media Applications and Multiplayer Online Gaming.

04/08/2022 20AD102 CC Dr. E G R, AI & DS, KLEF 3


XaaS (Anything as a Service)
• Infrastructure-as-a-Service (IaaS) • Integration-as-a-Service (InaaS)
• Platform-as-a-Service (PaaS) • Security-as-a-Service (SeaaS)
• Software-as-a-Service (SaaS) • Management/Governance-as-a-
• Storage-as-a-Service (StaaS) Service (MaaS)
• Database-as-a-Service (DbaaS) • Testing-as-a-Service (TaaS)
• Information-as-a-Service (IfaaS) • Container as a Service (CaaS)
• Process-as-a-Service (PraaS) • Network-as-a-service (NaaS)
• Disaster Recovery as a Service
(DRaaS)
04/08/2022 20AD102 CC Dr. E G R, AI & DS, KLEF 4
04/08/2022 20AD102 CC Dr. E G R, AI & DS, KLEF 5
Real World Applications
Online Data Storage
• Cloud computing allows storing data like files, images, audios, and
videos, etc on the cloud storage.
• The organization need not set physical storage systems to store a
huge volume of business data which costs so high nowadays.
• As they are growing technologically, data generation is also growing
with respect to time, and storing that becoming problem.
• In that situation, Cloud storage is providing this service to store and
access data any time as per requirement

04/08/2022 20AD102 CC Dr. E G R, AI & DS, KLEF 6


Real World Applications
Backup and Recovery
• Cloud vendors provide security from their side by storing
safe to the data as well as providing a backup facility to the
data.
• They offer various recovery application for retrieving the lost
data. In the traditional way backup of data is a very complex
problem and also it is very difficult sometimes impossible to
recover the lost data.
• But cloud computing has made backup and recovery
applications very easy where there is no fear of running out
of backup media or loss of data.
04/08/2022 20AD102 CC Dr. E G R, AI & DS, KLEF 7
Real World Applications
Bigdata Analysis
• We know the volume of big data is so high where storing that in traditional
data management system for an organization is impossible.
• But cloud computing has resolved that problem by allowing the
organizations to store their large volume of data in cloud storage without
worrying about physical storage.
• Next comes analyzing the raw data and finding out insights or useful
information from it is a big challenge as it requires high-quality tools for
data analytics.
• Cloud computing provides the biggest facility to organizations in terms of
storing and analyzing big data.
04/08/2022 20AD102 CC Dr. E G R, AI & DS, KLEF 8
Real World Applications
Testing and development
• Setting up the platform for development and finally performing
different types of testing to check the readiness of the product before
delivery requires different types of IT resources and infrastructure.
• But Cloud computing provides the easiest approach for development
as well as testing even if deployment by using their IT resources with
minimal expenses.
• Organizations find it more helpful as they got scalable and flexible
cloud services for product development, testing, and deployment.

04/08/2022 20AD102 CC Dr. E G R, AI & DS, KLEF 9


Real World Applications
Anti-Virus Applications
• Previously, organizations were installing antivirus software
within their system even if we will see we personally also
keep antivirus software in our system for safety from outside
cyber threats.
• But nowadays cloud computing provides cloud antivirus
software which means the software is stored in the cloud
and monitors your system/organization’s system remotely.
• This antivirus software identifies the security risks and fixes
them. Sometimes also they give a feature to download the
software.
04/08/2022 20AD102 CC Dr. E G R, AI & DS, KLEF 10
Real World Applications
E-commerce Application
• Cloud-based e-commerce allows responding quickly to the
opportunities which are emerging.
• Users respond quickly to the market opportunities as well as the
traditional e-commerce responds to the challenges quickly.
• Cloud-based e-commerce gives a new approach to doing business
with the minimum amount as well as minimum time possible.
• Customer data, product data, and other operational systems are
managed in cloud environments.

04/08/2022 20AD102 CC Dr. E G R, AI & DS, KLEF 11


Real World Applications
Cloud Computing in Education
• Cloud computing in the education sector brings an unbelievable
change in learning by providing e-learning, online distance learning
platforms, and student information portals to the students.
• It is a new trend in education that provides an attractive environment
for learning, teaching, experimenting, etc to students, faculty
members, and researchers.
• Everyone associated with the field can connect to the cloud of their
organization and access data and information from there.

04/08/2022 20AD102 CC Dr. E G R, AI & DS, KLEF 12


Real World Applications
E-Governance Application
• Cloud computing can provide its services to multiple activities
conducted by the government.
• It can support the government to move from the traditional ways of
management and service providers to an advanced way of everything
by expanding the availability of the environment, making the
environment more scalable and customized.
• It can help the government to reduce the unnecessary cost in
managing, installing, and upgrading applications and doing all these
with help of could computing and utilizing that money public service.

04/08/2022 20AD102 CC Dr. E G R, AI & DS, KLEF 13


Real World Applications
Entertainment Applications
• Many people get entertainment from the internet, in that case, cloud
computing is the perfect place for reaching to a varied consumer
base.
• Therefore different types of entertainment industries reach near the
target audience by adopting a multi-cloud strategy.
• Cloud-based entertainment provides various entertainment
applications such as online music/video, online games and video
conferencing, streaming services, etc and it can reach any device be it
TV, mobile, set-top box, or any other form.
• It is a new form of entertainment called On-Demand Entertainment
(ODE).
04/08/2022 20AD102 CC Dr. E G R, AI & DS, KLEF 14
Scientific Applications
• Scientific applications are a sector that is increasingly using
cloud computing systems and technologies.
• Cloud computing systems meet the needs of different types
of applications in the scientific domain: high performance
computing (HPC) applications, high-throughput computing
(HTC) applications, and data-intensive applications.
• The opportunity to use cloud resources is even more
appealing because minimal changes need to be made to
existing applications in order to leverage cloud resources

04/08/2022 20AD102 CC Dr. E G R, AI & DS, KLEF 15


Health care

04/08/2022 20AD102 CC Dr. E G R, AI & DS, KLEF 16


ECG analysis in the Cloud
User
Large
ECG Sensor Number

Embedded Bluetooth
1 Enabled
Data Communication &

User Requests
User Requests
Processor Module

ECG Sensor Module

User Requests

Bluetooth connectivity

SaaS
ECG Data Analysis as a
2 Service

Dynamically Scalable
Runtime

PaaS
4 Security
(QoS-based scaling of Runtime
3 computing resources)

Wireless / Mobile 3G Network

IaaS
6 5

04/08/2022 20AD102 CC Dr. E G R, AI & DS, KLEF 17


Health care
Cloud-based healthcare solutions help with the following aspects in the
healthcare industry
• Better analysis and monitoring of data related to diagnosis and treatment
of different diseases
• Massive storage resources for large datasets for EHR (Electronic Health
Record) and radiology images
• Ability to provide on-demand access to computing resources
• Sharing of EHR only among authorized physicians, doctors, and hospitals in
different locations around the world, providing timely access to
information critical for saving lives and reducing the need for duplicate
testing
• Improved data analysis
• Enhanced tracking of patients’ healthcare data
04/08/2022 20AD102 CC Dr. E G R, AI & DS, KLEF 18
Health care
E-health and Telemedicine
• Cloud computing is now widely used for E-health, which refers to providing
healthcare services electronically through the internet. The cloud allows
different medical professionals to collaborate and give their input on
complex medical cases, such as telesurgery, teleradiology, etc.
• E-health provides the right clinical treatment to patients residing anywhere
in the world. Telemedicine projects use cloud computing as an information
and Communications Technology (ICT) infrastructure for better doctor-to-
doctor and doctor-to-patient communication and interaction.
Cloud solutions for healthcare and telemedicine also help with
• Sharing patients’ medical data in real-time across different geographical
locations
• Minimizing unnecessary visits to hospitals, thereby saving time and money
04/08/2022 20AD102 CC Dr. E G R, AI & DS, KLEF 19
Health care
Drug Discovery
• Cloud computing plays a significant role in drug recovery
because drug recovery requires a large number of computing
resources for discovering different compounds from billions
of chemical structures.
• Infrastructure as a Service (IaaS) services are especially
useful in simplifying this process.

04/08/2022 20AD102 CC Dr. E G R, AI & DS, KLEF 20


Health care
Healthcare Information Systems
• The healthcare industry uses cloud-based management
information systems to provide improved patient care,
manage human resources, better-querying services, and
billing and finance.
• Cloud computing in the healthcare industry is also used to
develop, test and deploy these systems.
• Cloud computing helps with fast, collaborative development,
better integration of the system with other healthcare
systems, and cross-platform compatibility.
04/08/2022 20AD102 CC Dr. E G R, AI & DS, KLEF 21
Health care
Personal Health Records
• Another cloud computing application in healthcare is managing
access to personal health records (PHR) and Electronic Health Records
(EHR).
• With cloud-based programs for PHR, users can easily access and
manage the PHR database and share data.
• These programs have advanced sharing features that give users high
control over shared data.
• Some programs also use protocols like SOAP and can be used for
mobile and desktop applications.

04/08/2022 20AD102 CC Dr. E G R, AI & DS, KLEF 22


Health care
Clinical Decision Support System (CDSS)
• CDSS is an advanced system that uses the knowledge and behavior of
a medical professional to provide advice on the patient record
analysis.
• This system is used for diagnosing conditions and prescribing
medication. Cloud computing can be used to create such systems that
provide better patient care.
• Additionally, with the advancement of technology, smartphones and
fitness trackers now monitor heart rate, diabetes, and blood pressure.
• Cloud-based systems can be used for efficient real-time diagnosis;
patients share their data and get the right advice from their
physicians at the right time.
04/08/2022 20AD102 CC Dr. E G R, AI & DS, KLEF 23
Health care
Cloud-based Digital Libraries
• Libraries are an important asset and source of knowledge for medical
students, practitioners, and researchers.
• Cloud-based libraries have massive file storage, query languages, and
indexing service.
• With cloud-based libraries, medical students and practitioners can
access information on demand to stay up to date on the latest
research.
• Additionally, physicians can access useful information to understand
the progress in the healthcare industry and improve their work
practice.
04/08/2022 20AD102 CC Dr. E G R, AI & DS, KLEF 24
Advantages and Disadvantages of Cloud
Computing in Healthcare
Key benefits of cloud Challenges of cloud
technology in healthcare computing in healthcare
• Cost Savings include
• Customization • Security Concerns
• High Data Storage Capacity • Data Availability
• Better Collaboration • Internet Access
• Better Patient Experience

04/08/2022 20AD102 CC Dr. E G R, AI & DS, KLEF 25


04/08/2022 20AD102 CC Dr. E G R, AI & DS, KLEF 26
Geoscience: Satellite Image Processing
• Geoscience applications collect, produce, and analyse
massive amounts of geospatial and non-spatial data.
• As the technology progresses and our planet becomes more
instrumented (i.e., through the deployment of sensors and
satellites for monitoring), the volume of data that need to be
processed increases significantly. In particular, the
geographic information system (GIS) is a major element of
geoscience applications.
• GIS applications capture, store, manipulate, analyze,
manage, and present all types of geographically referenced
data.
04/08/2022 20AD102 CC Dr. E G R, AI & DS, KLEF 27
Geoscience: Satellite Image Processing
• This type of information is now becoming increasingly
relevant to a wide variety of application domains: from
advanced farming to civil security and also natural resources
management.
• As a result, a considerable amount of geo-referenced data is
ingested into computer systems for further processing and
analysis.
• Cloud computing is an attractive option for executing these
demanding tasks and extracting meaningful information for
supporting decision makers
04/08/2022 20AD102 CC Dr. E G R, AI & DS, KLEF 28
Geoscience: Satellite Image Processing
• Satellite remote sensing generates hundreds of gigabytes of raw
images that need to be further processed to become the basis of
several different GIS products.
• This process requires both I/O and compute intensive tasks.
• Large size images need to be moved from the ground station’s local
storage to compute facilities where several transformations and
corrections are applied.
• Cloud computing provides the appropriate infrastructure to support
such application scenario.
• A Cloud-based implementation of such a workflow has been
developed by the Department of Space, Government of India.
04/08/2022 20AD102 CC Dr. E G R, AI & DS, KLEF 29
Geoscience: Satellite Image Processing
• The system shown in Figure integrates several technologies across the
entire computing stack.
• A SaaS application provides a collection of services for such as
geocode generation and data visualization.
• At the PaaS level Aneka controls the import of data into the
virtualized infrastructure and the execution of image processing tasks
that produce the desired outcome from raw satellite images.
• The platform leverages a Xen private Cloud and the Aneka technology
to dynamically provision the required resources (i.e, grow or shrink)
on demand.

04/08/2022 20AD102 CC Dr. E G R, AI & DS, KLEF 30


Geoscience: Satellite Image Processing
Portal (SaaS)

Distribution
Archiving

Local Storage
Aneka

Public Cloud

Private Cloud

04/08/2022 20AD102 CC Dr. E G R, AI & DS, KLEF 31


Example of viewing surface data

04/08/2022 20AD102 CC Dr. E G R, AI & DS, KLEF 32


Biology
• Applications in biology require high computing capabilities
and operate on large data-sets that cause extensive I/O
operations.
• Therefore biology applications have made use of
supercomputing and cluster computing infrastructures.
• Similar capabilities can be leveraged using cloud computing
technologies in a more dynamic fashion, thus opening new
opportunities for bioinformatics applications.

04/08/2022 20AD102 CC Dr. E G R, AI & DS, KLEF 33


Protein Structure Prediction
Jeeva Portal

Aneka

Task Graph

A A : BLAST
B : Create Data Vector
Initial Phase
B C : HH Classifier
D : SS Classifier
E : TT Classifier
Classification
C D E F G H F : HS Classifier
Phase G : ST Classifier
H : TH Classifier
Final Phase
I I : Predict Final Secondary
Structure

04/08/2022 20AD102 CC Dr. E G R, AI & DS, KLEF 34


Protein Structure Prediction
• Protein structure prediction is a computationally intensive task that is
fundamental to different types of research in the life sciences.
• The geometric structure of a protein cannot be directly inferred from the
sequence of genes that compose its structure, but it is the result of
complex computations aimed at identifying the structure that minimizes
the required energy.
• This task requires the investigation of a space with a massive number of
states, consequently creating a large number of computations for each of
these states.
• One project that investigates the use of cloud technologies for protein
structure prediction is Jeeva – an integrated Web portal that enables
scientists to offload the prediction task to a computing cloud based on
Aneka

04/08/2022 20AD102 CC Dr. E G R, AI & DS, KLEF 35


Gene expression data analysis for cancer diagnosis
• Gene expression profiling is the measurement of the expression levels
of thousands of genes at once.
• It is used to understand the biological processes that are triggered by
the treatment at a cellular level.
• Together with protein structure prediction, this activity is a
fundamental component of drug design since it allows scientists to
identify the effects of a specific treatment.
• Another important application of gene expression profiling is cancer
diagnosis and treatment.
• Cancer is a disease characterized by uncontrolled cell growth and
proliferation.

04/08/2022 20AD102 CC Dr. E G R, AI & DS, KLEF 36


Gene expression data analysis for cancer diagnosis
• This behavior occurs because of genes regulating the cell growth
mutate.
• This means that all the cancerous cells contain mutated genes.
• In this context, gene expression profiling is utilized to provide a more
accurate classification of tumors.
• The classification of gene expression data samples into distinct classes
is a challenging task.
• The dimensionality of typical gene expression data sets ranges from
several thousands to over ten thousands genes.
• However, only small sample sizes are typically available for analysis.

04/08/2022 20AD102 CC Dr. E G R, AI & DS, KLEF 37


Cloud-CoXCS: An Environment for Micro Array Data
Processing On the Cloud
Datasets

Cloud-CoXCS
(Task orchestrator)
CoXCS Tasks
Aneka

Elastic Sizing (EC2,…, )

04/08/2022 20AD102 CC Dr. E G R, AI & DS, KLEF 38


Cloud-CoXCS: An Environment for Micro Array Data
Processing On the Cloud
• This problem is often approached with learning classifiers, which generate
a population of condition-action rule that guide the classification process.
• Among these, the eXtended Classifier System (XCS) has been successfully
utilized for classifying large datasets in the bioinformatics and computer
science domains.
• However, the effectiveness of XCS when confronted with high dimensional
data sets (such as microarray gene expression data sets) has not been
explored in detail.
• A variation of such algorithm, CoXCS, has proven to be effective in these
conditions.
• CoXCS divides the entire search space into subdomains an employs the
standard XCS algorithm in each of these subdomains.
04/08/2022 20AD102 CC Dr. E G R, AI & DS, KLEF 39
Cloud-CoXCS: An Environment for Micro Array
Data Processing On the Cloud
• Such a process is computationally intensive but can be easily parallelized as
the classifications problems on the subdomains can be solved concurrently.
• Cloud-CoXCS is a Cloud-based implementation of CoXCS that leverages
Aneka to solve the classification problem in parallel and compose their
outcomes.
• The algorithm is controlled by strategies, which define the way in which the
outcomes are composed together and whether the process needs to be
iterated.
• Because of the dynamic nature of XCS, the number of required compute
resources to execute it can vary over time.
• Therefore, the use of a scalable middleware such as Aneka offers a
distinctive advantage.
04/08/2022 20AD102 CC Dr. E G R, AI & DS, KLEF 40
Business and Consumer Applications
• The business and consumer sector is the one that probably
benefits the most from Cloud computing technologies.
• On the one hand the opportunity of transforming capital cost
into operational costs makes Clouds an attractive option for
all enterprises that are IT centric.
• On the other hand, the sense of ubiquity that Cloud offers
for accessing data and services makes it interesting for end
users as well.

04/08/2022 20AD102 CC Dr. E G R, AI & DS, KLEF 41


Business and Consumer Applications
• Moreover, the elastic nature of Cloud technologies does not
require huge upfront investments, thus allowing new ideas
to be quickly translated into products and services that can
comfortably grow with the demand.
• The combination of all these elements has made Cloud
computing the preferred technology for a wide range of
applications: from CRM and ERP systems to productivity and
social networking applications

04/08/2022 20AD102 CC Dr. E G R, AI & DS, KLEF 42


CRM and ERP

• Customer Relationship Management (CRM) and Enterprise


Resource Planning (ERP) applications are market segments
that are flourishing in the Cloud, with CRM applications
being more mature than ERP implementations.
• Cloud CRM applications constitute a great opportunity for
small enterprises and start-ups to have a fully functional
CRM software without large upfront costs and by paying
subscriptions.

04/08/2022 20AD102 CC Dr. E G R, AI & DS, KLEF 43


CRM and ERP
• Moreover, customer relationship management is not an activity that
requires specific needs and it can be easily moved to the Cloud.
• Such a characteristic, together with the possibility of having access to
your business and customer data from everywhere and any device,
has fostered the spread of Cloud CRM applications.
• ERP solutions on the Cloud are less mature and have to compete with
well-established in-house solutions.
• ERP systems integrate several aspects of an enterprise: finance and
accounting, human resources, manufacturing, supply chain
management, project management, and customer relationship
management.
04/08/2022 20AD102 CC Dr. E G R, AI & DS, KLEF 44
SalesForce.com
• Salesforce.com is probably the most popular and developed CRM
solutions available today.
• As of today more than 100 thousands customers have chosen
Safesforce.com to implement their CRM solutions.
• The application provides customizable CRM solutions that can be
integrated with additional features developed by third parties.
• Salesforce.com is based on the Force.com Cloud development
platform.
• This represents the scalable and high-performance middleware
executing all the operations of all Salesforce.com applications.

04/08/2022 20AD102 CC Dr. E G R, AI & DS, KLEF 45


SalesForce.com
Force.com Platform

User-base 1: Metadata Cache


Application 1
Bulk Processing
Engine

Metadata Multitenant-aware
Pivot
Tables (UDD) Query Optimiser
Tables
Runtime Application
Generator
Data Tables
Full-text Search
Shared Database Engine

User-base 2: COMMON TENANT- Indexes


OBJECTS
Application 2 APPLICATION SPECIFIC (TABLES)
SCREENS SCREENS

Virtual Application Components

User-base 3:
Application 3
04/08/2022 20AD102 CC Dr. E G R, AI & DS, KLEF 46
Microsoft Dynamics CRM
• Microsoft Dynamics CRM is the solution implemented by Microsoft
for customer relationship management.
• Dynamics CRM is available either for installation on the enterprise’s
premises or as an online solution priced with a monthly per user
subscription.
• The system is completely hosted in Microsoft’s data center across the
world and offers to customers a 99.9% SLA, with bonus credits in case
the system does not fulfill the agreement.
• Each CRM instance is deployed on a separate database, and the
application provides users with facilities for marketing, sales, and
advanced customer relationship management.

04/08/2022 20AD102 CC Dr. E G R, AI & DS, KLEF 47


Microsoft Dynamics CRM
• Dynamics CRM Online features can be accessed either
through a web browser interface or programmatically by
means of SOAP and RESTful web services.
• This allows Dynamics CRM to be easily integrated with both
other Microsoft products and line of business applications.
• Dynamics CRM can be extended by developing plug-ins that
allow implementing specific behaviors triggered on the
occurrence of given events.
• Dynamics CRM can also leverage the capability of Windows
Azure for the development and integration of new features.
04/08/2022 20AD102 CC Dr. E G R, AI & DS, KLEF 48
NetSuite
• NetSuite provides a collection of applications that help customers
manage every aspect of the business enterprise.
• Its offering is divided in three major products: NetSuite Global ERP,
NetSuite Global CRM+, and NetSuite Global Ecommerce.
• Moreover, an all-in-one solution integrates all the three products
together: NetSuite One World.
• The services delivered by the company are powered by two large
datacenters on the opposite coasts (east and west coasts) of the
United States connected by redundant links.
• This allows NetSuite to guarantee 99.5% of uptime to its customers.

04/08/2022 20AD102 CC Dr. E G R, AI & DS, KLEF 49


NetSuite
• Besides the pre-packaged solutions, NetSuite also provides and
infrastructure and a development environment for implementing
customized applications.
• The NetSuite Business Operating System (NS-BOS) is a complete stack of
technologies for building Software-as-a-Service business applications that
leverage the capabilities of NetSuite products.
• On top of the SaaS infrastructure, the NetSuite Business Suite components
offer accounting, ERP, CRM, and e-commerce capabilities.
• An online development environment, SuiteFlex, allows integrating such
capabilities into new web applications, which are then packaged for
distribution by SuiteBundler.
• The entire infrastructure is hosted in the NetSuite datacenters, which
provide the warranties about the application uptime and availability.

04/08/2022 20AD102 CC Dr. E G R, AI & DS, KLEF 50


Social Networking
• Social networking applications have considerably grown in
the last years to become the most active sites on the web.
• In order to sustain their traffic and to serve millions of users
seamlessly,
• services like Twitter or Facebook, have leveraged Cloud
computing technologies.
• The possibility of continuously adding capacity while systems
are running is the most attractive feature for social networks,
which constantly increase their user base.

04/08/2022 20AD102 CC Dr. E G R, AI & DS, KLEF 51


Facebook
• Facebook is probably the most evident and interesting environment in
social networking.
• It became one of the largest web sites in the world with more than 800
million users.
• In order to sustain this incredible growth it has been fundamental to be
capable of continuously adding capacity, developing new scalable
technologies and software systems while keeping a high performance for a
smooth user experience.
• Currently, the social network is backed by two data centers that have been
built and optimized to reduce costs and impact on the environment.
• On top of this highly efficient infrastructure built and designed out of
inexpensive hardware, a completely customized stack of open source
technologies opportunely modified and refined constitutes the backend of
largest social network.
04/08/2022 20AD102 CC Dr. E G R, AI & DS, KLEF 52
Facebook
• Taken all together, these technologies constitute a powerful platform
for developing Cloud applications.
• This platform primarily supports Facebook itself and offers APIs to
integrate third party applications with Facebook’s core infrastructure
to deliver additional services such as social games and quizzes created
by others.
• The reference stack serving Facebook is based on LAMP (Linux,
Apache, MySQL, and PHP).
• This collection of technologies is accompanied by a collection of other
services developed in-house.

04/08/2022 20AD102 CC Dr. E G R, AI & DS, KLEF 53


Facebook
• These services are developed in a variety of languages and implement
specific functionalities such as search, new feeds, notifications, and
others.
• While serving page requests, the social graph of the user is
composed.
• The social graph identifies collection of interlinked information that is
of relevance for a given user.
• Most of the user data is served by querying a distributed cluster of
MySQL instances, which mostly contain key-value pairs.
• This data is then cached for faster retrieval.

04/08/2022 20AD102 CC Dr. E G R, AI & DS, KLEF 54


Facebook
• The rest of the relevant information is then composed together by
using the services mentioned before.
• These services are located closer to the data and developed in
languages that provide a better performance than PHP.
• The development of services is facilitated by a set of tools internally
developed.
• One of the core elements is Thrift.
• This is a collection of abstractions (and language bindings) that allow
cross-language development.

04/08/2022 20AD102 CC Dr. E G R, AI & DS, KLEF 55


Facebook
• Thrift allows services developed in different languages to
communicate and exchange data.
• Bindings for Thrift in different languages take care of data
serialization and deserialization, communication, and client
and server boilerplate code.
• This simplifies the work of the developers that can quickly
prototype services and leverage existing one.
• Other relevant services and tools are Scribe, which
aggregates streaming log feeds, and applications for alerting
and monitoring.
04/08/2022 20AD102 CC Dr. E G R, AI & DS, KLEF 56
Media Applications
• Media applications are a niche that has taken a considerable
advantage from leveraging Cloud computing technologies.
• In particular, video processing operations, such as encoding,
transcoding, composition, and rendering, are good
candidates for a Cloud-based environment.
• These are computationally intensive tasks that can be easily
offloaded to Cloud computing infrastructures.

04/08/2022 20AD102 CC Dr. E G R, AI & DS, KLEF 57


Animoto
• Animoto is perhaps the most popular example of media applications
on the Cloud.
• The website provides users with a very straightforward interface for
quickly creating videos out of images, music, and video fragments
submitted by users.
• Users select a specific theme for the video, upload the photos and
videos and order them in the sequence they want to appear, select
the song for the music, and render the video.
• The process is executed in the background and the user is notified via
e-mail once the video is rendered.
• The core value of Animoto is the ability to quickly create videos with
stunning effects without the user intervention.

04/08/2022 20AD102 CC Dr. E G R, AI & DS, KLEF 58


Animoto
• A proprietary AI engine that selects the animation and transition
effects according to pictures and music drives the rendering
operation.
• Users only have to define the storyboard by organizing pictures and
videos into the desired sequence.
• If not, the video can be rendered again and the engine will select a
different composition, thus producing a different outcome every
time.
• The service allows creating 30 seconds videos for free.
• By paying a monthly or a yearly subscription it is possible to produce
videos of any length and to choose among a wider range of
templates.
04/08/2022 20AD102 CC Dr. E G R, AI & DS, KLEF 59
Animoto Reference Architecture

EC2 instances:
Scalability engine web front end

Amazon SQS

Amazon S3: EC2 instances: video rendering


Video storage

04/08/2022 20AD102 CC Dr. E G R, AI & DS, KLEF 60


Maya Rendering with Aneka
• Interesting applications of media processing are found in the
engineering disciplines and the movie production industry.
• Operations such as rendering of models are now an integral part of
the design workflow, which has become computationally demanding.
• The visualization of mechanical models is not only used at the end of
the design process, but it is iteratively used to improve the design.
• It is then fundamental to perform such task as fast as possible.
• Cloud computing provides engineers with the necessary computing
power to make this happen.

04/08/2022 20AD102 CC Dr. E G R, AI & DS, KLEF 61


3D Rendering On Private Clouds

Render Tasks Aneka


Aneka Maya Render

Render Files
Networked LAN
Scenarios

Maya: Train Design

04/08/2022 20AD102 CC Dr. E G R, AI & DS, KLEF 62


Video Encoding on the Cloud : Encoding.com
• Video encoding and transcoding are operations that can take
a great benefit from using Cloud technologies: they are
computationally intensive and potentially require
considerable amount of storage.
• Moreover, with the continuous improvement of mobile
devices as well as the diffusion of Internet, requests for video
content have significantly increased.
• The variety of devices with video playback capabilities has
led to an explosion of video formats through which a video
can be delivered.
04/08/2022 20AD102 CC Dr. E G R, AI & DS, KLEF 63
Video Encoding on the Cloud : Encoding.com
• Software and hardware for video encoding and transcoding
often have prohibitive costs or are not flexible enough to
support conversion from any format to any format.
• Cloud technologies present an opportunity for turning these
tedious and often demanding tasks into services that can be
easily integrated into different workflows or made available
to everyone according to their needs.
• Encoding.com is software solution that offers video
transcoding services on demand and leverage Cloud
technology to provide both the horse-power required for
video conversion and the storage for staging videos.

04/08/2022 20AD102 CC Dr. E G R, AI & DS, KLEF 64


Video Encoding on the Cloud : Encoding.com

• The service integrates both with Amazon Web Services


technologies (EC2, S3, and CloudFront) and Rackspace (Cloud
Servers, Cloud Files, and Limelight CDN access).
• Users can access the services through a variety of interfaces:
Encoding.com website, web service XML APIs, desktop
applications, and watched folders.

04/08/2022 20AD102 CC Dr. E G R, AI & DS, KLEF 65


Video Encoding on the Cloud : Encoding.com
• In order to use the service users have to specify the location of the
video to transcode, the destination format, and the target location of
the video.
• Encoding.com also offers other video editing operations such the
insertion of thumbnails, watermarks, or logos. Moreover, it also
extends its capabilities to audio and image conversion.
• The service provides different pricing options: monthly fee, pay-as-
you-go (by batches), and special prices for high volumes.
Encoding.com has up to now more than 2000 customers and has
already processed more than 10 million videos.

04/08/2022 20AD102 CC Dr. E G R, AI & DS, KLEF 66


Multiplayer Online Gaming
• Online multiplayer gaming attracts millions of gamers around
the world that share a common experience by playing
together on a virtual environment that extends beyond the
boundaries of a normal LAN.
• Online games support hundreds of players in the same
session and this is made possible by the specific architecture
used to forward interactions that is based on game log
processing.
• Players update the game server hosting the game session
and the server integrates all the updates into a log that is
made available to all the players through a TCP port.
04/08/2022 20AD102 CC Dr. E G R, AI & DS, KLEF 67
Multiplayer Online Gaming
• The client software used for the game connects to the log
port and by reading the log updates the local user interface
with the actions of other players.
• Game log processing is also utilized to build statistics on
players and rank them.
• These features constitute the additional value of online
gaming portals that attract more and more gamers
• The processing of game logs is a potentially compute
intensive operation that strongly depends on the number of
players online and the number of games monitored.
04/08/2022 20AD102 CC Dr. E G R, AI & DS, KLEF 68
Multiplayer Online Gaming
• Moreover, gaming portals are web applications and therefore might suffer
from the spiky behavior of users that can randomly generate large amount
of volatile workloads that do not justify capacity planning.
• The use of Cloud computing technologies can provide the required
elasticity for seamlessly processing these workloads and scale as required
when the number of users increases.
• A prototypal implementation of Cloud-based game log processing has been
implemented by Titan Inc. (now Xfire), a company based in California that
extended its gaming portal to offload game log processing to the Cloud by
using Aneka.
• The prototype has utilized a private Cloud deployment that has allowed
Titan Inc. to process concurrently multiple logs and sustain a larger number
of users.

04/08/2022 20AD102 CC Dr. E G R, AI & DS, KLEF 69


Scalable Processing of Logs for Network Games
Gamer

Titan Gaming Portal


Aneka
Gamer

Gamer Log
Processing Task
Game Server

Game Server Log


Processing Task

Game Server Log


Processing Task

04/08/2022 20AD102 CC Dr. E G R, AI & DS, KLEF 70


Cloud Applications
Scientific Applications
Health care
Geoscience
Biology
Business and Consumer Applications
CRM and ERP
Social Networking
Media Applications and Multiplayer Online Gaming.

04/08/2022 20AD102 CC Dr. E G R, AI & DS, KLEF 71


CO1
End of Part 2

04/08/2022 20AD102 CC Dr. E G R, AI & DS, KLEF 72

You might also like