SlideShare ist ein Scribd-Unternehmen logo
1 von 28
Downloaden Sie, um offline zu lesen
M E G A T R I S C O M P . L L C
Micro Services
in the cloud
10/22/2015
1
Web services
10/22/2015
2
It is a software function provided at a network address
over the Web with the service always on as in the
concept of utility computing.
The W3C defines a Web service generally as:
a software system designed to support interoperable
machine-to-machine (M2M) interaction over a
network.
API
10/22/2015
3
A server-side web API is a programmatic interface to a defined
request-response message system, typically expressed in JSON
or XML, which is exposed via the web.
While "web API" in this context is sometimes considered a
synonym for web service, Web 2.0 web applications have
moved away from SOAP-based web services towards more
cohesive collections of RESTful web resources. These
RESTful web APIs are accessible via standard HTTP methods
by a variety of HTTP clients including browsers and mobile
devices.
REST
10/22/2015
4
REST stands for Representational State Transfer.
It relies on a stateless, client-server, cacheable communications
protocol -- and in virtually all cases, the HTTP protocol is
used. REST is an architecture style for designing networked
applications.
Monolithic Application
10/22/2015
5
Networked or offline applications can easily be
designed using a monolithic approach.
A monolithic application built as a single unit. Enterprise
Applications are often built in three main parts:
• a client-side user interface,
• a database
• a server-side application.
The server-side application will handle HTTP requests, execute
domain logic, retrieve and update data from the database, and
select and populate HTML views to be sent to the browser. This
server-side application is a monolith a single logical executable.
Any changes to the system involve building and
deploying a new version of the server-side application.
Microservices
10/22/2015
6
Instead of using a monolithic approach, the microservice
architectural style is an approach to develop a single
application as a suite of small services, each running in its own
process and communicating with lightweight mechanisms,
often an HTTP resource API.
There is a bare minimum of centralized management of these
services, which may be written in different programming
languages and use different data storage technologies.
Monolithic VS Microservices
10/22/2015
7
Microservices win!
10/22/2015
8
These frustrations have led
to the microservice
architectural style: building
applications as suites of
services. As well as the
fact that services are
independently
deployable and scalable,
each service also provides a
firm module boundary, even
allowing for different
services to be written in
different programming
languages. They can also
be managed by different
teams.
The four pillars
1. The services are small - fine-grained to perform a
single function.
2. The organization culture should embrace
automation of deployment and testing. This eases
the burden on management and operations.
3. The culture and design principles should embrace
failure and faults, similar to anti-fragile systems.
4. The services are elastic, resilient, composable,
minimal, and complete.
10/22/2015
9
Do one thing and do it well.
10/22/2015
10
IoT & Microservices
10/22/2015
11
IoT (Internet of things) is expanding. More and more devices are now
connected, big companies like Samsung, Google and LG are working on the
home consumer sector to create a simple way to connect everything to
internet (IoE – internet of everything).
Every device becomes connected and intelligent thanks to the cloud.
We strongly think that a Microservices architecture based on cloud services
can monitor, analyze data and send- receive commands to/from every object
in the IoT cloud.
The object it’s not only a thing, but also an agent, that using his mobile
devices has the ability to use microservices.
It’s clear that we need a simple way to manage so different sources of data
and Microservices are the key to do that.
Achitecture based on Microservices
10/22/2015
12
When talking about components we run into the difficult definition
of what makes a component. Our definition is that
a component is a unit of software that is independently
replaceable and upgradeable.
The microservices architecture primary way of
componentizing their own software is by breaking down
into services.
Services
10/22/2015
13
Services are out-of-process components who communicate with a
mechanism such as a web service request, or remote procedure
call.
One main reason for using services as components is that services
are independently deployable. If you have an application that
consists of a multiple libraries in a single process, a change to any
single component results in having to redeploy the entire
application. But if that application is decomposed into multiple
services, you can expect many single service changes to only
require that service to be redeployed. The aim of a good
microservices architecture is to minimize these through cohesive
service boundaries and evolution mechanisms in the service
contracts.
Contextual Microservices architecture for the IoT
10/22/2015
14
A possible solution to easily control the IoT systems is to
create an intelligent platform using a microservices
architecture.
Each service has one and simple behavior and it’s called
when a specific event occours in the system.
Everything is event driven and the flow from the start to the
end is influenced by the context.
Context
10/22/2015
15
“Context is any information that can
be used to characterize the situation of
an entity.
An entity is a person, place or an
internet object that is considered
relevant to the interaction between a
user and an application, including the
user and application themselves.”
How to build this architecture?
10/22/2015
16
The most difficult aspect of a contextual microservices
architecture is to build a system that has the flexibility,
intelligence and complexity capable of manage the net of
microservices.
We call such layer System Bus.
THE GLUE TO CONNECT
DIFFERENT TIERS
System Bus
10/22/2015
17
System Bus
The system bus was born as a single
computer bus that connects the major components of
a computer system. The technique was developed to
reduce costs and improve modularity.
We applied this idea to the Microservices architecture
to glue services with complex processes, mobiles,
things, etc.
10/22/2015
18
Our System Bus
We want to give a real life example introducing SSB,
our event driven enterprise cloud system bus
for the IoT.
SSB permits Interaction Services using Web Services
(WS) and real time simulations.
SSB platform is a model based and event-driven
application with directive constraints and actions.
10/22/2015
19
10/22/2015
20
SSB
Process
Automation
Application
Monitoring
Monitoring
Cockpit
Messages
Services
Web
Services
 SCC (simulation and
control manager)
 Communication server
(manages communication
using email, sms, twitter,
push, …)
 IMCP ( a rule base
decision maker)
 Extractor (prepare data
using specific rules)
 A suite of web services
The architecture
Architecture Flow
10/22/2015
21
Device/
Application
Smartphone Cloud Server
Megatris WSSSB
Megatris Comp. LLC
We create cloud services and mobile apps to make people life easier.
Our mobile apps are integrated with Megatris Cloud to sell services and
goods.
www.megatris.com
1250 Oakmead Pkwy, Sunnyvale, CA 94085, USA
10/22/201522
QUESTIONS?
10/22/201523
EXTRA
SLIDES
Event Driven
10/22/2015
25
An event can be defined as "a significant change in
state”. For example, when a consumer purchases a car,
the car's state changes from "for sale" to "sold".
Event-driven programming is a programming
paradigm in which the flow of the program is
determined by events of all kind.
So, an event in a Micro Services architecture becomes
the trigger that can activate a flow between a small or
huge amount of layers.
Service-oriented architecture
10/22/2015
26
A service:
• Is a logical representation of a repeatable business activity that has a specified
outcome (e.g., check customer credit, provide weather data, consolidate
drilling reports)
• Is self-contained
• May be composed of other services
• Is a "black box" to consumers of the service
SOA is based on the concept of a service. Depending on the service design
approach taken, each SOA service is designed to perform one or more activities
by implementing one or more service operations.
Services are unassociated, loosely coupled units of functionality that are self-
contained.
Service-oriented architecture
10/22/2015
27
Programmers have made extensive use of XML in SOA to structure data that
they wrap in a nearly exhaustive description-container. Analogously, the Web
Services Description Language (WSDL) typically describes the services
themselves, while SOAP (originally Simple Object Access Protocol) describes the
communications protocols.
Each interface brings with it some amount of processing overhead, so there is a
performance consideration in choosing the granularity of services.
SOA as an architecture relies on service-orientation as its fundamental design
principle. If a service presents a simple interface that abstracts away its
underlying complexity, then users can access independent services without
knowledge of the service's platform implementation
SOA MODEL
10/22/2015
28

Weitere ähnliche Inhalte

Was ist angesagt?

Onug lunch talk may 12 2015 no video
Onug lunch talk may 12 2015 no videoOnug lunch talk may 12 2015 no video
Onug lunch talk may 12 2015 no videoAndrew Randall
 
OpenNebulaconf2017US: Fast prototyping of a c.o. into a purpose built data ce...
OpenNebulaconf2017US: Fast prototyping of a c.o. into a purpose built data ce...OpenNebulaconf2017US: Fast prototyping of a c.o. into a purpose built data ce...
OpenNebulaconf2017US: Fast prototyping of a c.o. into a purpose built data ce...OpenNebula Project
 
Introduction to Istio on Kubernetes
Introduction to Istio on KubernetesIntroduction to Istio on Kubernetes
Introduction to Istio on KubernetesJonh Wendell
 
01 - VMUGIT - Lecce 2018 - Fabio Rapposelli, VMware
01 - VMUGIT - Lecce 2018 - Fabio Rapposelli, VMware01 - VMUGIT - Lecce 2018 - Fabio Rapposelli, VMware
01 - VMUGIT - Lecce 2018 - Fabio Rapposelli, VMwareVMUG IT
 
CPaaS.io - FIWARE-based Toolbox
CPaaS.io - FIWARE-based ToolboxCPaaS.io - FIWARE-based Toolbox
CPaaS.io - FIWARE-based ToolboxStephan Haller
 
Service Mesh on Kubernetes with Istio
Service Mesh on Kubernetes with IstioService Mesh on Kubernetes with Istio
Service Mesh on Kubernetes with IstioMichelle Holley
 
Telefónica Edge Computing Case Study
Telefónica Edge Computing Case StudyTelefónica Edge Computing Case Study
Telefónica Edge Computing Case StudyDavid Artuñedo
 
Introduction to Istio Service Mesh
Introduction to Istio Service MeshIntroduction to Istio Service Mesh
Introduction to Istio Service MeshGeorgios Andrianakis
 
Istio Service Mesh
Istio Service MeshIstio Service Mesh
Istio Service MeshLew Tucker
 
Modular Web Applications With Netzke
Modular Web Applications With NetzkeModular Web Applications With Netzke
Modular Web Applications With Netzkenetzke
 
IoT Microservices at the Edge with Eclipse ioFog
IoT Microservices at the Edge with Eclipse ioFogIoT Microservices at the Edge with Eclipse ioFog
IoT Microservices at the Edge with Eclipse ioFogKilton Hopkins
 
Delivering Composable NFV Services for Business, Residential and Mobile Edge
Delivering Composable NFV Services for Business, Residential and Mobile EdgeDelivering Composable NFV Services for Business, Residential and Mobile Edge
Delivering Composable NFV Services for Business, Residential and Mobile EdgePLUMgrid
 
IBM Bluemix Nice Meetup #4-20170302 6 Meetup @INRIA - BlockChain
IBM Bluemix Nice Meetup #4-20170302 6 Meetup @INRIA - BlockChainIBM Bluemix Nice Meetup #4-20170302 6 Meetup @INRIA - BlockChain
IBM Bluemix Nice Meetup #4-20170302 6 Meetup @INRIA - BlockChainIBM France Lab
 
Cloud-Native Application Debugging with Envoy and Service Mesh
Cloud-Native Application Debugging with Envoy and Service MeshCloud-Native Application Debugging with Envoy and Service Mesh
Cloud-Native Application Debugging with Envoy and Service MeshChristian Posta
 
OSS in the era of SDN and NFV: Evolution vs Revolution - What we can learn f...
OSS in the era of SDN and NFV:  Evolution vs Revolution - What we can learn f...OSS in the era of SDN and NFV:  Evolution vs Revolution - What we can learn f...
OSS in the era of SDN and NFV: Evolution vs Revolution - What we can learn f...Colt Technology Services
 

Was ist angesagt? (20)

Onug lunch talk may 12 2015 no video
Onug lunch talk may 12 2015 no videoOnug lunch talk may 12 2015 no video
Onug lunch talk may 12 2015 no video
 
OpenNebulaconf2017US: Fast prototyping of a c.o. into a purpose built data ce...
OpenNebulaconf2017US: Fast prototyping of a c.o. into a purpose built data ce...OpenNebulaconf2017US: Fast prototyping of a c.o. into a purpose built data ce...
OpenNebulaconf2017US: Fast prototyping of a c.o. into a purpose built data ce...
 
Introduction to Istio on Kubernetes
Introduction to Istio on KubernetesIntroduction to Istio on Kubernetes
Introduction to Istio on Kubernetes
 
EasyStack True Private Cloud | Quek Keng Oei
EasyStack True Private Cloud | Quek Keng OeiEasyStack True Private Cloud | Quek Keng Oei
EasyStack True Private Cloud | Quek Keng Oei
 
Istio a service mesh
Istio   a service meshIstio   a service mesh
Istio a service mesh
 
01 - VMUGIT - Lecce 2018 - Fabio Rapposelli, VMware
01 - VMUGIT - Lecce 2018 - Fabio Rapposelli, VMware01 - VMUGIT - Lecce 2018 - Fabio Rapposelli, VMware
01 - VMUGIT - Lecce 2018 - Fabio Rapposelli, VMware
 
CPaaS.io - FIWARE-based Toolbox
CPaaS.io - FIWARE-based ToolboxCPaaS.io - FIWARE-based Toolbox
CPaaS.io - FIWARE-based Toolbox
 
Service Mesh on Kubernetes with Istio
Service Mesh on Kubernetes with IstioService Mesh on Kubernetes with Istio
Service Mesh on Kubernetes with Istio
 
Telefónica Edge Computing Case Study
Telefónica Edge Computing Case StudyTelefónica Edge Computing Case Study
Telefónica Edge Computing Case Study
 
Introduction to Istio Service Mesh
Introduction to Istio Service MeshIntroduction to Istio Service Mesh
Introduction to Istio Service Mesh
 
Istio Service Mesh
Istio Service MeshIstio Service Mesh
Istio Service Mesh
 
Modular Web Applications With Netzke
Modular Web Applications With NetzkeModular Web Applications With Netzke
Modular Web Applications With Netzke
 
SDN/NFV architecture vision and reality
SDN/NFV architecture vision and reality SDN/NFV architecture vision and reality
SDN/NFV architecture vision and reality
 
IoT Microservices at the Edge with Eclipse ioFog
IoT Microservices at the Edge with Eclipse ioFogIoT Microservices at the Edge with Eclipse ioFog
IoT Microservices at the Edge with Eclipse ioFog
 
Service mesh
Service meshService mesh
Service mesh
 
Delivering Composable NFV Services for Business, Residential and Mobile Edge
Delivering Composable NFV Services for Business, Residential and Mobile EdgeDelivering Composable NFV Services for Business, Residential and Mobile Edge
Delivering Composable NFV Services for Business, Residential and Mobile Edge
 
IBM Bluemix Nice Meetup #4-20170302 6 Meetup @INRIA - BlockChain
IBM Bluemix Nice Meetup #4-20170302 6 Meetup @INRIA - BlockChainIBM Bluemix Nice Meetup #4-20170302 6 Meetup @INRIA - BlockChain
IBM Bluemix Nice Meetup #4-20170302 6 Meetup @INRIA - BlockChain
 
Cloud-Native Application Debugging with Envoy and Service Mesh
Cloud-Native Application Debugging with Envoy and Service MeshCloud-Native Application Debugging with Envoy and Service Mesh
Cloud-Native Application Debugging with Envoy and Service Mesh
 
OSS in the era of SDN and NFV: Evolution vs Revolution - What we can learn f...
OSS in the era of SDN and NFV:  Evolution vs Revolution - What we can learn f...OSS in the era of SDN and NFV:  Evolution vs Revolution - What we can learn f...
OSS in the era of SDN and NFV: Evolution vs Revolution - What we can learn f...
 
Colt VCPE and NFV at L123 SDN WC 2015
Colt VCPE and NFV at L123 SDN WC 2015Colt VCPE and NFV at L123 SDN WC 2015
Colt VCPE and NFV at L123 SDN WC 2015
 

Andere mochten auch

Kubernetes, The Day After
Kubernetes, The Day AfterKubernetes, The Day After
Kubernetes, The Day AfterApcera
 
How web 2.0 is changing medicine
How web 2.0 is changing medicineHow web 2.0 is changing medicine
How web 2.0 is changing medicineVictor Castilla
 
IoT and Microservice
IoT and MicroserviceIoT and Microservice
IoT and Microservicekgshukla
 
Microservices on the Edge
Microservices on the EdgeMicroservices on the Edge
Microservices on the EdgeLaunchAny
 
Null Mumbai Meet_Android Reverse Engineering by Samrat Das
Null Mumbai Meet_Android Reverse Engineering by Samrat DasNull Mumbai Meet_Android Reverse Engineering by Samrat Das
Null Mumbai Meet_Android Reverse Engineering by Samrat Dasnullowaspmumbai
 
IoT-Lite: A Lightweight Semantic Model for the Internet of Things
IoT-Lite:  A Lightweight Semantic Model for the Internet of ThingsIoT-Lite:  A Lightweight Semantic Model for the Internet of Things
IoT-Lite: A Lightweight Semantic Model for the Internet of ThingsPayamBarnaghi
 
Microservices: The Future-Proof Framework for IoT
Microservices: The Future-Proof Framework for IoTMicroservices: The Future-Proof Framework for IoT
Microservices: The Future-Proof Framework for IoTCapgemini
 
Predictive Maintenance by analysing acoustic data in an industrial environment
Predictive Maintenance by analysing acoustic data in an industrial environmentPredictive Maintenance by analysing acoustic data in an industrial environment
Predictive Maintenance by analysing acoustic data in an industrial environmentCapgemini
 
PPT on Android Applications
PPT on Android ApplicationsPPT on Android Applications
PPT on Android ApplicationsAshish Agarwal
 
OpenStack NFV Edge computing for IOT microservices
OpenStack NFV Edge computing for IOT microservicesOpenStack NFV Edge computing for IOT microservices
OpenStack NFV Edge computing for IOT microservicesopenstackindia
 
Methods for removal of chromium
Methods for removal of chromiumMethods for removal of chromium
Methods for removal of chromiumArvind Gupta
 

Andere mochten auch (13)

Kubernetes, The Day After
Kubernetes, The Day AfterKubernetes, The Day After
Kubernetes, The Day After
 
How web 2.0 is changing medicine
How web 2.0 is changing medicineHow web 2.0 is changing medicine
How web 2.0 is changing medicine
 
IoT and Microservice
IoT and MicroserviceIoT and Microservice
IoT and Microservice
 
Microservices on the Edge
Microservices on the EdgeMicroservices on the Edge
Microservices on the Edge
 
Virtualized Transport for Edge Computing Services
Virtualized Transport for Edge Computing ServicesVirtualized Transport for Edge Computing Services
Virtualized Transport for Edge Computing Services
 
Smartphone based ADAS
Smartphone based ADASSmartphone based ADAS
Smartphone based ADAS
 
Null Mumbai Meet_Android Reverse Engineering by Samrat Das
Null Mumbai Meet_Android Reverse Engineering by Samrat DasNull Mumbai Meet_Android Reverse Engineering by Samrat Das
Null Mumbai Meet_Android Reverse Engineering by Samrat Das
 
IoT-Lite: A Lightweight Semantic Model for the Internet of Things
IoT-Lite:  A Lightweight Semantic Model for the Internet of ThingsIoT-Lite:  A Lightweight Semantic Model for the Internet of Things
IoT-Lite: A Lightweight Semantic Model for the Internet of Things
 
Microservices: The Future-Proof Framework for IoT
Microservices: The Future-Proof Framework for IoTMicroservices: The Future-Proof Framework for IoT
Microservices: The Future-Proof Framework for IoT
 
Predictive Maintenance by analysing acoustic data in an industrial environment
Predictive Maintenance by analysing acoustic data in an industrial environmentPredictive Maintenance by analysing acoustic data in an industrial environment
Predictive Maintenance by analysing acoustic data in an industrial environment
 
PPT on Android Applications
PPT on Android ApplicationsPPT on Android Applications
PPT on Android Applications
 
OpenStack NFV Edge computing for IOT microservices
OpenStack NFV Edge computing for IOT microservicesOpenStack NFV Edge computing for IOT microservices
OpenStack NFV Edge computing for IOT microservices
 
Methods for removal of chromium
Methods for removal of chromiumMethods for removal of chromium
Methods for removal of chromium
 

Ähnlich wie Meetup6 microservices for the IoT

Term paper 2073131
Term paper   2073131Term paper   2073131
Term paper 2073131mtestman
 
Microservices with mule
Microservices with muleMicroservices with mule
Microservices with mulealfa
 
Microservice architecture
Microservice architectureMicroservice architecture
Microservice architectureTouraj Ebrahimi
 
Overcoming Ongoing Digital Transformational Challenges with a Microservices A...
Overcoming Ongoing Digital Transformational Challenges with a Microservices A...Overcoming Ongoing Digital Transformational Challenges with a Microservices A...
Overcoming Ongoing Digital Transformational Challenges with a Microservices A...Cognizant
 
Microservices with mule
Microservices with muleMicroservices with mule
Microservices with muleGovind Mulinti
 
Microservices in cloud-based infrastructure
Microservices in cloud-based infrastructureMicroservices in cloud-based infrastructure
Microservices in cloud-based infrastructureGunnar Menzel
 
Introduction to Micro Services
Introduction to Micro ServicesIntroduction to Micro Services
Introduction to Micro ServicesShashi Shekhar
 
MULTIVIEW SOA : EXTENDING SOA USING A PRIVATE CLOUD COMPUTING AS SAAS AND DAAS
MULTIVIEW SOA : EXTENDING SOA USING A PRIVATE CLOUD COMPUTING AS SAAS AND DAASMULTIVIEW SOA : EXTENDING SOA USING A PRIVATE CLOUD COMPUTING AS SAAS AND DAAS
MULTIVIEW SOA : EXTENDING SOA USING A PRIVATE CLOUD COMPUTING AS SAAS AND DAASijseajournal
 
SELECTION MECHANISM OF MICRO-SERVICES ORCHESTRATION VS. CHOREOGRAPHY
SELECTION MECHANISM OF MICRO-SERVICES ORCHESTRATION VS. CHOREOGRAPHY SELECTION MECHANISM OF MICRO-SERVICES ORCHESTRATION VS. CHOREOGRAPHY
SELECTION MECHANISM OF MICRO-SERVICES ORCHESTRATION VS. CHOREOGRAPHY IJwest
 
SELECTION MECHANISM OF MICRO-SERVICES ORCHESTRATION VS. CHOREOGRAPHY
SELECTION MECHANISM OF MICRO-SERVICES ORCHESTRATION VS. CHOREOGRAPHYSELECTION MECHANISM OF MICRO-SERVICES ORCHESTRATION VS. CHOREOGRAPHY
SELECTION MECHANISM OF MICRO-SERVICES ORCHESTRATION VS. CHOREOGRAPHYdannyijwest
 
Cloud MicroService Architecture
Cloud MicroService ArchitectureCloud MicroService Architecture
Cloud MicroService ArchitectureYakov Liskoff
 
Cloud computing charecteristics and types altanai bisht , 2nd year, part iii
Cloud computing charecteristics and types   altanai bisht , 2nd year,  part iiiCloud computing charecteristics and types   altanai bisht , 2nd year,  part iii
Cloud computing charecteristics and types altanai bisht , 2nd year, part iiiALTANAI BISHT
 
Micro services overview
Micro services overviewMicro services overview
Micro services overviewZeeshan Khan
 
IBM --Enterprise messaging in the cloud
IBM --Enterprise messaging in the cloudIBM --Enterprise messaging in the cloud
IBM --Enterprise messaging in the cloudAbhishek Sood
 
Micro Service Architecture
Micro Service ArchitectureMicro Service Architecture
Micro Service ArchitectureLinjith Kunnon
 

Ähnlich wie Meetup6 microservices for the IoT (20)

Term paper 2073131
Term paper   2073131Term paper   2073131
Term paper 2073131
 
Microservices with mule
Microservices with muleMicroservices with mule
Microservices with mule
 
Microservice architecture
Microservice architectureMicroservice architecture
Microservice architecture
 
Overcoming Ongoing Digital Transformational Challenges with a Microservices A...
Overcoming Ongoing Digital Transformational Challenges with a Microservices A...Overcoming Ongoing Digital Transformational Challenges with a Microservices A...
Overcoming Ongoing Digital Transformational Challenges with a Microservices A...
 
Microservices with mule
Microservices with muleMicroservices with mule
Microservices with mule
 
Microservices
MicroservicesMicroservices
Microservices
 
Microservices in cloud-based infrastructure
Microservices in cloud-based infrastructureMicroservices in cloud-based infrastructure
Microservices in cloud-based infrastructure
 
Introduction to Micro Services
Introduction to Micro ServicesIntroduction to Micro Services
Introduction to Micro Services
 
MULTIVIEW SOA : EXTENDING SOA USING A PRIVATE CLOUD COMPUTING AS SAAS AND DAAS
MULTIVIEW SOA : EXTENDING SOA USING A PRIVATE CLOUD COMPUTING AS SAAS AND DAASMULTIVIEW SOA : EXTENDING SOA USING A PRIVATE CLOUD COMPUTING AS SAAS AND DAAS
MULTIVIEW SOA : EXTENDING SOA USING A PRIVATE CLOUD COMPUTING AS SAAS AND DAAS
 
Microservices.pptx
Microservices.pptxMicroservices.pptx
Microservices.pptx
 
SELECTION MECHANISM OF MICRO-SERVICES ORCHESTRATION VS. CHOREOGRAPHY
SELECTION MECHANISM OF MICRO-SERVICES ORCHESTRATION VS. CHOREOGRAPHY SELECTION MECHANISM OF MICRO-SERVICES ORCHESTRATION VS. CHOREOGRAPHY
SELECTION MECHANISM OF MICRO-SERVICES ORCHESTRATION VS. CHOREOGRAPHY
 
SELECTION MECHANISM OF MICRO-SERVICES ORCHESTRATION VS. CHOREOGRAPHY
SELECTION MECHANISM OF MICRO-SERVICES ORCHESTRATION VS. CHOREOGRAPHYSELECTION MECHANISM OF MICRO-SERVICES ORCHESTRATION VS. CHOREOGRAPHY
SELECTION MECHANISM OF MICRO-SERVICES ORCHESTRATION VS. CHOREOGRAPHY
 
Cloud MicroService Architecture
Cloud MicroService ArchitectureCloud MicroService Architecture
Cloud MicroService Architecture
 
Why Microservice
Why Microservice Why Microservice
Why Microservice
 
Cloud computing charecteristics and types altanai bisht , 2nd year, part iii
Cloud computing charecteristics and types   altanai bisht , 2nd year,  part iiiCloud computing charecteristics and types   altanai bisht , 2nd year,  part iii
Cloud computing charecteristics and types altanai bisht , 2nd year, part iii
 
Microservice's in detailed
Microservice's in detailedMicroservice's in detailed
Microservice's in detailed
 
Micro services overview
Micro services overviewMicro services overview
Micro services overview
 
IBM --Enterprise messaging in the cloud
IBM --Enterprise messaging in the cloudIBM --Enterprise messaging in the cloud
IBM --Enterprise messaging in the cloud
 
Micro Service Architecture
Micro Service ArchitectureMicro Service Architecture
Micro Service Architecture
 
Whitepaper : Microservices In or Out
Whitepaper : Microservices   In or OutWhitepaper : Microservices   In or Out
Whitepaper : Microservices In or Out
 

Mehr von Francesco Rago

Meetup 11 here&now_megatriscomp design methodpartii_v0.2
Meetup 11 here&now_megatriscomp design methodpartii_v0.2Meetup 11 here&now_megatriscomp design methodpartii_v0.2
Meetup 11 here&now_megatriscomp design methodpartii_v0.2Francesco Rago
 
Meetup 10 here&now_megatriscomp_design_methodparti_v1
Meetup 10 here&now_megatriscomp_design_methodparti_v1Meetup 10 here&now_megatriscomp_design_methodparti_v1
Meetup 10 here&now_megatriscomp_design_methodparti_v1Francesco Rago
 
Meetup9 iot sensors and security
Meetup9 iot sensors and securityMeetup9 iot sensors and security
Meetup9 iot sensors and securityFrancesco Rago
 
Meetup8 IoT trends 2016
Meetup8 IoT trends 2016Meetup8 IoT trends 2016
Meetup8 IoT trends 2016Francesco Rago
 
Meetup #4 - IoE - 2nd cybernetics approach
Meetup #4 - IoE - 2nd cybernetics approachMeetup #4 - IoE - 2nd cybernetics approach
Meetup #4 - IoE - 2nd cybernetics approachFrancesco Rago
 
Meetup #3 - Cyber-physical view of the Internet of Everything
Meetup #3 - Cyber-physical view of the Internet of EverythingMeetup #3 - Cyber-physical view of the Internet of Everything
Meetup #3 - Cyber-physical view of the Internet of EverythingFrancesco Rago
 

Mehr von Francesco Rago (9)

Meetup 11 here&now_megatriscomp design methodpartii_v0.2
Meetup 11 here&now_megatriscomp design methodpartii_v0.2Meetup 11 here&now_megatriscomp design methodpartii_v0.2
Meetup 11 here&now_megatriscomp design methodpartii_v0.2
 
Meetup 10 here&now_megatriscomp_design_methodparti_v1
Meetup 10 here&now_megatriscomp_design_methodparti_v1Meetup 10 here&now_megatriscomp_design_methodparti_v1
Meetup 10 here&now_megatriscomp_design_methodparti_v1
 
Meetup9 iot sensors and security
Meetup9 iot sensors and securityMeetup9 iot sensors and security
Meetup9 iot sensors and security
 
Meetup8 IoT trends 2016
Meetup8 IoT trends 2016Meetup8 IoT trends 2016
Meetup8 IoT trends 2016
 
Meetup #4 - IoE - 2nd cybernetics approach
Meetup #4 - IoE - 2nd cybernetics approachMeetup #4 - IoE - 2nd cybernetics approach
Meetup #4 - IoE - 2nd cybernetics approach
 
Meetup #3 - Cyber-physical view of the Internet of Everything
Meetup #3 - Cyber-physical view of the Internet of EverythingMeetup #3 - Cyber-physical view of the Internet of Everything
Meetup #3 - Cyber-physical view of the Internet of Everything
 
Meet up#2v0.2
Meet up#2v0.2Meet up#2v0.2
Meet up#2v0.2
 
#1 Online IoT meetup
#1 Online IoT meetup#1 Online IoT meetup
#1 Online IoT meetup
 
1 minutepres
1 minutepres1 minutepres
1 minutepres
 

Kürzlich hochgeladen

Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfMounikaPolabathina
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESmohitsingh558521
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 

Kürzlich hochgeladen (20)

Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 

Meetup6 microservices for the IoT

  • 1. M E G A T R I S C O M P . L L C Micro Services in the cloud 10/22/2015 1
  • 2. Web services 10/22/2015 2 It is a software function provided at a network address over the Web with the service always on as in the concept of utility computing. The W3C defines a Web service generally as: a software system designed to support interoperable machine-to-machine (M2M) interaction over a network.
  • 3. API 10/22/2015 3 A server-side web API is a programmatic interface to a defined request-response message system, typically expressed in JSON or XML, which is exposed via the web. While "web API" in this context is sometimes considered a synonym for web service, Web 2.0 web applications have moved away from SOAP-based web services towards more cohesive collections of RESTful web resources. These RESTful web APIs are accessible via standard HTTP methods by a variety of HTTP clients including browsers and mobile devices.
  • 4. REST 10/22/2015 4 REST stands for Representational State Transfer. It relies on a stateless, client-server, cacheable communications protocol -- and in virtually all cases, the HTTP protocol is used. REST is an architecture style for designing networked applications.
  • 5. Monolithic Application 10/22/2015 5 Networked or offline applications can easily be designed using a monolithic approach. A monolithic application built as a single unit. Enterprise Applications are often built in three main parts: • a client-side user interface, • a database • a server-side application. The server-side application will handle HTTP requests, execute domain logic, retrieve and update data from the database, and select and populate HTML views to be sent to the browser. This server-side application is a monolith a single logical executable. Any changes to the system involve building and deploying a new version of the server-side application.
  • 6. Microservices 10/22/2015 6 Instead of using a monolithic approach, the microservice architectural style is an approach to develop a single application as a suite of small services, each running in its own process and communicating with lightweight mechanisms, often an HTTP resource API. There is a bare minimum of centralized management of these services, which may be written in different programming languages and use different data storage technologies.
  • 8. Microservices win! 10/22/2015 8 These frustrations have led to the microservice architectural style: building applications as suites of services. As well as the fact that services are independently deployable and scalable, each service also provides a firm module boundary, even allowing for different services to be written in different programming languages. They can also be managed by different teams.
  • 9. The four pillars 1. The services are small - fine-grained to perform a single function. 2. The organization culture should embrace automation of deployment and testing. This eases the burden on management and operations. 3. The culture and design principles should embrace failure and faults, similar to anti-fragile systems. 4. The services are elastic, resilient, composable, minimal, and complete. 10/22/2015 9
  • 10. Do one thing and do it well. 10/22/2015 10
  • 11. IoT & Microservices 10/22/2015 11 IoT (Internet of things) is expanding. More and more devices are now connected, big companies like Samsung, Google and LG are working on the home consumer sector to create a simple way to connect everything to internet (IoE – internet of everything). Every device becomes connected and intelligent thanks to the cloud. We strongly think that a Microservices architecture based on cloud services can monitor, analyze data and send- receive commands to/from every object in the IoT cloud. The object it’s not only a thing, but also an agent, that using his mobile devices has the ability to use microservices. It’s clear that we need a simple way to manage so different sources of data and Microservices are the key to do that.
  • 12. Achitecture based on Microservices 10/22/2015 12 When talking about components we run into the difficult definition of what makes a component. Our definition is that a component is a unit of software that is independently replaceable and upgradeable. The microservices architecture primary way of componentizing their own software is by breaking down into services.
  • 13. Services 10/22/2015 13 Services are out-of-process components who communicate with a mechanism such as a web service request, or remote procedure call. One main reason for using services as components is that services are independently deployable. If you have an application that consists of a multiple libraries in a single process, a change to any single component results in having to redeploy the entire application. But if that application is decomposed into multiple services, you can expect many single service changes to only require that service to be redeployed. The aim of a good microservices architecture is to minimize these through cohesive service boundaries and evolution mechanisms in the service contracts.
  • 14. Contextual Microservices architecture for the IoT 10/22/2015 14 A possible solution to easily control the IoT systems is to create an intelligent platform using a microservices architecture. Each service has one and simple behavior and it’s called when a specific event occours in the system. Everything is event driven and the flow from the start to the end is influenced by the context.
  • 15. Context 10/22/2015 15 “Context is any information that can be used to characterize the situation of an entity. An entity is a person, place or an internet object that is considered relevant to the interaction between a user and an application, including the user and application themselves.”
  • 16. How to build this architecture? 10/22/2015 16 The most difficult aspect of a contextual microservices architecture is to build a system that has the flexibility, intelligence and complexity capable of manage the net of microservices. We call such layer System Bus.
  • 17. THE GLUE TO CONNECT DIFFERENT TIERS System Bus 10/22/2015 17
  • 18. System Bus The system bus was born as a single computer bus that connects the major components of a computer system. The technique was developed to reduce costs and improve modularity. We applied this idea to the Microservices architecture to glue services with complex processes, mobiles, things, etc. 10/22/2015 18
  • 19. Our System Bus We want to give a real life example introducing SSB, our event driven enterprise cloud system bus for the IoT. SSB permits Interaction Services using Web Services (WS) and real time simulations. SSB platform is a model based and event-driven application with directive constraints and actions. 10/22/2015 19
  • 20. 10/22/2015 20 SSB Process Automation Application Monitoring Monitoring Cockpit Messages Services Web Services  SCC (simulation and control manager)  Communication server (manages communication using email, sms, twitter, push, …)  IMCP ( a rule base decision maker)  Extractor (prepare data using specific rules)  A suite of web services The architecture
  • 22. Megatris Comp. LLC We create cloud services and mobile apps to make people life easier. Our mobile apps are integrated with Megatris Cloud to sell services and goods. www.megatris.com 1250 Oakmead Pkwy, Sunnyvale, CA 94085, USA 10/22/201522
  • 25. Event Driven 10/22/2015 25 An event can be defined as "a significant change in state”. For example, when a consumer purchases a car, the car's state changes from "for sale" to "sold". Event-driven programming is a programming paradigm in which the flow of the program is determined by events of all kind. So, an event in a Micro Services architecture becomes the trigger that can activate a flow between a small or huge amount of layers.
  • 26. Service-oriented architecture 10/22/2015 26 A service: • Is a logical representation of a repeatable business activity that has a specified outcome (e.g., check customer credit, provide weather data, consolidate drilling reports) • Is self-contained • May be composed of other services • Is a "black box" to consumers of the service SOA is based on the concept of a service. Depending on the service design approach taken, each SOA service is designed to perform one or more activities by implementing one or more service operations. Services are unassociated, loosely coupled units of functionality that are self- contained.
  • 27. Service-oriented architecture 10/22/2015 27 Programmers have made extensive use of XML in SOA to structure data that they wrap in a nearly exhaustive description-container. Analogously, the Web Services Description Language (WSDL) typically describes the services themselves, while SOAP (originally Simple Object Access Protocol) describes the communications protocols. Each interface brings with it some amount of processing overhead, so there is a performance consideration in choosing the granularity of services. SOA as an architecture relies on service-orientation as its fundamental design principle. If a service presents a simple interface that abstracts away its underlying complexity, then users can access independent services without knowledge of the service's platform implementation