SlideShare a Scribd company logo
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

More Related Content

What's hot

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
Andrew 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 Kubernetes
Jonh Wendell
 
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
Vietnam Open Infrastructure User Group
 
Istio a service mesh
Istio   a service meshIstio   a service mesh
Istio a service mesh
Chandresh Pancholi
 
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
VMUG IT
 
CPaaS.io - FIWARE-based Toolbox
CPaaS.io - FIWARE-based ToolboxCPaaS.io - FIWARE-based Toolbox
CPaaS.io - FIWARE-based Toolbox
Stephan Haller
 
Service Mesh on Kubernetes with Istio
Service Mesh on Kubernetes with IstioService Mesh on Kubernetes with Istio
Service Mesh on Kubernetes with Istio
Michelle Holley
 
Telefónica Edge Computing Case Study
Telefónica Edge Computing Case StudyTelefónica Edge Computing Case Study
Telefónica Edge Computing Case Study
David Artuñedo
 
Introduction to Istio Service Mesh
Introduction to Istio Service MeshIntroduction to Istio Service Mesh
Introduction to Istio Service Mesh
Georgios Andrianakis
 
Istio Service Mesh
Istio Service MeshIstio Service Mesh
Istio Service Mesh
Lew Tucker
 
Modular Web Applications With Netzke
Modular Web Applications With NetzkeModular Web Applications With Netzke
Modular Web Applications With Netzke
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
Colt Technology Services
 
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
Kilton Hopkins
 
Service mesh
Service meshService mesh
Service mesh
Arnab Mitra
 
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
PLUMgrid
 
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
IBM 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 Mesh
Christian 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
 
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
Colt Technology Services
 

What's hot (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
 

Viewers also liked

Kubernetes, The Day After
Kubernetes, The Day AfterKubernetes, The Day After
Kubernetes, The Day After
Apcera
 
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
Victor Castilla
 
IoT and Microservice
IoT and MicroserviceIoT and Microservice
IoT and Microservice
kgshukla
 
Microservices on the Edge
Microservices on the EdgeMicroservices on the Edge
Microservices on the Edge
LaunchAny
 
Virtualized Transport for Edge Computing Services
Virtualized Transport for Edge Computing ServicesVirtualized Transport for Edge Computing Services
Virtualized Transport for Edge Computing Services
ECI – THE ELASTIC NETWORK™
 
Smartphone based ADAS
Smartphone based ADASSmartphone based ADAS
Smartphone based ADAS
Prashant Sharma
 
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
nullowaspmumbai
 
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
PayamBarnaghi
 
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
Capgemini
 
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
Capgemini
 
PPT on Android Applications
PPT on Android ApplicationsPPT on Android Applications
PPT on Android Applications
Ashish 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 microservices
openstackindia
 
Methods for removal of chromium
Methods for removal of chromiumMethods for removal of chromium
Methods for removal of chromium
Arvind Gupta
 

Viewers also liked (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
 

Similar to Meetup6 microservices for the IoT

Term paper 2073131
Term paper   2073131Term paper   2073131
Term paper 2073131
mtestman
 
Microservices with mule
Microservices with muleMicroservices with mule
Microservices with mule
alfa
 
Microservice architecture
Microservice architectureMicroservice architecture
Microservice architecture
Touraj 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 mule
Govind Mulinti
 
Microservices
MicroservicesMicroservices
Microservices
Gyanendra Yadav
 
Microservices in cloud-based infrastructure
Microservices in cloud-based infrastructureMicroservices in cloud-based infrastructure
Microservices in cloud-based infrastructure
Gunnar Menzel
 
Introduction to Micro Services
Introduction to Micro ServicesIntroduction to Micro Services
Introduction to Micro Services
Shashi 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 DAAS
ijseajournal
 
Microservices.pptx
Microservices.pptxMicroservices.pptx
Microservices.pptx
EverestMedinilla2
 
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
dannyijwest
 
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
 
Cloud MicroService Architecture
Cloud MicroService ArchitectureCloud MicroService Architecture
Cloud MicroService Architecture
Yakov Liskoff
 
Why Microservice
Why Microservice Why Microservice
Why Microservice
Kelvin Yeung
 
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
ALTANAI BISHT
 
Microservice's in detailed
Microservice's in detailedMicroservice's in detailed
Microservice's in detailed
Mohammed Fazuluddin
 
Micro services overview
Micro services overviewMicro services overview
Micro services overview
Zeeshan Khan
 
IBM --Enterprise messaging in the cloud
IBM --Enterprise messaging in the cloudIBM --Enterprise messaging in the cloud
IBM --Enterprise messaging in the cloud
Abhishek Sood
 
Micro Service Architecture
Micro Service ArchitectureMicro Service Architecture
Micro Service Architecture
Linjith Kunnon
 
Whitepaper : Microservices In or Out
Whitepaper : Microservices   In or OutWhitepaper : Microservices   In or Out
Whitepaper : Microservices In or Out
Newt Global Consulting LLC
 

Similar to 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. CHOREOGRAPHYSELECTION 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. 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
 

More from 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.2
Francesco 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_v1
Francesco Rago
 
Meetup9 iot sensors and security
Meetup9 iot sensors and securityMeetup9 iot sensors and security
Meetup9 iot sensors and security
Francesco Rago
 
Meetup8 IoT trends 2016
Meetup8 IoT trends 2016Meetup8 IoT trends 2016
Meetup8 IoT trends 2016
Francesco Rago
 
Meetup #4 - IoE - 2nd cybernetics approach
Meetup #4 - IoE - 2nd cybernetics approachMeetup #4 - IoE - 2nd cybernetics approach
Meetup #4 - IoE - 2nd cybernetics approach
Francesco 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 Everything
Francesco Rago
 
Meet up#2v0.2
Meet up#2v0.2Meet up#2v0.2
Meet up#2v0.2
Francesco Rago
 
#1 Online IoT meetup
#1 Online IoT meetup#1 Online IoT meetup
#1 Online IoT meetup
Francesco Rago
 
1 minutepres
1 minutepres1 minutepres
1 minutepres
Francesco Rago
 

More from 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
 

Recently uploaded

GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
Neo4j
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
Neo4j
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
Matthew Sinclair
 
Mariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceXMariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceX
Mariano Tinti
 
UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5
DianaGray10
 
Serial Arm Control in Real Time Presentation
Serial Arm Control in Real Time PresentationSerial Arm Control in Real Time Presentation
Serial Arm Control in Real Time Presentation
tolgahangng
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
名前 です男
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
DianaGray10
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
Adtran
 
Programming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup SlidesProgramming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup Slides
Zilliz
 
Infrastructure Challenges in Scaling RAG with Custom AI models
Infrastructure Challenges in Scaling RAG with Custom AI modelsInfrastructure Challenges in Scaling RAG with Custom AI models
Infrastructure Challenges in Scaling RAG with Custom AI models
Zilliz
 
Full-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalizationFull-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalization
Zilliz
 
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success StoryDriving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Safe Software
 
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
shyamraj55
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
panagenda
 
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
Edge AI and Vision Alliance
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
Uni Systems S.M.S.A.
 
GraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracyGraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracy
Tomaz Bratanic
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
DianaGray10
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Malak Abu Hammad
 

Recently uploaded (20)

GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
 
Mariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceXMariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceX
 
UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5
 
Serial Arm Control in Real Time Presentation
Serial Arm Control in Real Time PresentationSerial Arm Control in Real Time Presentation
Serial Arm Control in Real Time Presentation
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
 
Programming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup SlidesProgramming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup Slides
 
Infrastructure Challenges in Scaling RAG with Custom AI models
Infrastructure Challenges in Scaling RAG with Custom AI modelsInfrastructure Challenges in Scaling RAG with Custom AI models
Infrastructure Challenges in Scaling RAG with Custom AI models
 
Full-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalizationFull-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalization
 
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success StoryDriving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success Story
 
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
 
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
 
GraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracyGraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracy
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
 

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