A prototypical tool to discover architecture changes based on multiple monitoring data sources for a distributed system Patrick Schäfer, 08.11.2017, Munich.

Slides:



Advertisements
Similar presentations
1 DTI/EPSRC 7 th June 2005 Reacting to HCI Devices: Initial Work Using Resource Ontologies with RAVE Dr. Ian Grimstead Richard Potter BSc(Hons)
Advertisements

Overview of LexEVS 5.0 LexEVS Architecture November, 2009.
Proposal: Model-Driven SAL for the OpenDaylight Controller
1 NETE4631 Cloud deployment models and migration Lecture Notes #4.
A Java Architecture for the Internet of Things Noel Poore, Architect Pete St. Pierre, Product Manager Java Platform Group, Internet of Things September.
Hydra Partners Meeting March 2012 Bill Branan DuraCloud Technical Lead.
The Business Value of CA Solutions Ovidiu VALEANU Senior Consultant DNA Software – CA Regional Representative.
“It’s going to take a month to get a proof of concept going.” “I know VMM, but don’t know how it works with SPF and the Portal” “I know Azure, but.
G O B E Y O N D C O N V E N T I O N WORF: Developing DB2 UDB based Web Services on a Websphere Application Server Kris Van Thillo, ABIS Training & Consulting.
1 SWE Introduction to Software Engineering Lecture 22 – Architectural Design (Chapter 13)
What’s That? : A Location Based Service Department of Computer Science and Engineering University of Minnesota Presented by: Don Eagan Chintan Patel
Understanding Metamodels. Outline Understanding metamodels Applying reference models Fundamental metamodel for describing software components Content.
AceMedia Personal content management in a mobile environment Jonathan Teh Motorola Labs.
Emmanuel Cecchet et al.  Performance Scalability of J2EE application servers.  Test effect of: ◦ Application Implementation Methods ◦ Container Design.
Talend 5.4 Architecture Adam Pemble Talend Professional Services.
Introduction to UDDI From: OASIS, Introduction to UDDI: Important Features and Functional Concepts.
Windows.Net Programming Series Preview. Course Schedule CourseDate Microsoft.Net Fundamentals 01/13/2014 Microsoft Windows/Web Fundamentals 01/20/2014.
February Semantion Privately owned, founded in 2000 First commercial implementation of OASIS ebXML Registry and Repository.
October 30, 2008 Extensible Workflow Management for Simmod ESUG32, Frankfurt, Oct 30, 2008 Alexander Scharnweber (DLR) October 30, 2008 Slide 1 > Extensible.
 Cloud computing  Workflow  Workflow lifecycle  Workflow design  Workflow tools : xcp, eucalyptus, open nebula.
Cube Enterprise Database Solution presented to MTF GIS Committee presented by Minhua Wang Citilabs, Inc. November 20, 2008.
SQL Server 2014: The Data Platform for the Cloud.
Design and Implementation of a Module to Synchronize Databases Amit Hingher Reviewers: Prof. Dr. rer. nat. habil. Andreas Heuer Prof. Dr.-Ing. Hartmut.
M i SMob i S Mob i Store - Mobile i nternet File Storage Platform Chetna Kaur.
(1) WattDepot: A software ecosystem for energy data collection, storage, analysis, and visualization Robert S. Brewer, Philip M. Johnson Collaborative.
Additional Security Tools Lesson 15. Skills Matrix.
Microsoft SharePoint Server 2010 for the Microsoft ASP.NET Developer Yaroslav Pentsarskyy
Contents 1.Introduction, architecture 2.Live demonstration 3.Extensibility.
11 CORE Architecture Mauro Bruno, Monica Scannapieco, Carlo Vaccari, Giulia Vaste Antonino Virgillito, Diego Zardetto (Istat)
NOVA Networked Object-based EnVironment for Analysis P. Nevski, A. Vaniachine, T. Wenaus NOVA is a project to develop distributed object oriented physics.
11 CORE Architecture Mauro Bruno, Monica Scannapieco, Carlo Vaccari, Giulia Vaste Antonino Virgillito, Diego Zardetto (Istat)
Introduction to EJB. What is an EJB ?  An enterprise java bean is a server-side component that encapsulates the business logic of an application. By.
Features Of SQL Server 2000: 1. Internet Integration: SQL Server 2000 works with other products to form a stable and secure data store for internet and.
© Copyright IBM Corporation 2016 Diagram Template IBM Cloud Architecture Center Using the Diagram Template This template is for use in creating a visual.
September 2003, 7 th EDG Conference, Heidelberg – Roberta Faggian, CERN/IT CERN – European Organization for Nuclear Research The GRACE Project GRid enabled.
Project Cumulus Overview March 15, End Goal Unified Public & Private PaaS for GlassFish/Java EE Simplify deployment of Java EE Apps on top of.
October 2014 HYBRIS ARCHITECTURE & TECHNOLOGY 01 OVERVIEW.
The Post Windows Operating System
Databases (CS507) CHAPTER 2.
A prototypical tool to discover architecture changes based on multiple monitoring data sources for a distributed system Patrick Schäfer, , Munich.
Chapter 6: Securing the Cloud
Combining Process Mining and Distributed Tracing to Improve Root Cause Analysis Jochen Graeff (B.Sc.), , Munich Advisor: Martin Kleehaus.
Installation The Intercompany Integration Solution for SAP Business One Version 2.0 for SAP Business One 9.1 Welcome to the course on the installation.
OpenLegacy Training Day Four Introduction to Microservices
Building Custom Workflows
Open Source distributed document DB for an enterprise
Distributed Tracing Of Microservices
Software Reuse ©Ian Sommerville 2006.
Tom Hechtman and Jason Coope
Enterprise Computing Collaboration System Example
Introduction to Microservices Prepared for
Solution Summary Business Service Management Solution on AIX® 6.1.
Installation The Intercompany Integration Solution for SAP Business One Version 2.0 for SAP Business One 9.1 Welcome to the course on the installation.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 2 Database System Concepts and Architecture.
Rocky Mountain CMG Spring? ‘09 Forum
Software Architecture
Module 01 ETICS Overview ETICS Online Tutorials
Software models - Software Architecture Design Patterns
JINI ICS 243F- Distributed Systems Middleware, Spring 2001
Software Development at ORTEC
Use Case #1: Mobile Virtual Desktop
Hitachi Storage Service Manager Software Architecture
Mark Quirk Head of Technology Developer & Platform Group
Master’s Thesis – Kick-off presentation Assessing the cost and benefit of a microservice landscape discovery method in the automotive industry Advisor:
ONAP Architecture Principle Review
Containers on Azure Peter Lasne Sr. Software Development Engineer
Implementation Plan system integration required for each iteration
Presentation transcript:

A prototypical tool to discover architecture changes based on multiple monitoring data sources for a distributed system Patrick Schäfer, 08.11.2017, Munich Advisor: Martin Kleehaus

Outline Motivation Research Questions Prototypical Implementation Modeled & Runtime Architecture Problem Statement Research Questions Prototypical Implementation Operating Environment Discovery Concept Implementation Live Demonstration Limitations 171108 Schäfer, Patrick - Master's Thesis final presentation © sebis

Motivation Modeled Enterprise Architecture Business Layer S 4 S 8 S 1 S 3 S 6 S 9 S 2 S 5 S 7 Application Layer VM VM VM VM Technology Layer 171108 Schäfer, Patrick - Master's Thesis final presentation © sebis

Motivation Runtime architecture Necessity of knowledge about runtime architecture Detecting deviations from modeled architecture Compliance violations / SLA violations Semi-automated root cause analysis Semi-automated Impact analysis State of the art solutions Application Runtime Architecture Discovery A1 A2 V A3 A4 A5 Business Layer S 1 S 4 S 2 S 5 S 6 S 3 S 7 S 9 S 8 Application Layer Technology Layer S 1 S 4 S 2 S 5 S 6 S 3 S 7 S 9 S 8 Discovered Applications Architecture discovery VM Discovered Technology Layer 171108 Schäfer, Patrick - Master's Thesis final presentation © sebis

Motivation Problem statement Current discovery solutions don‘t own knowledge about the entire architecture including dependencies between and within the architectual layers Consequences comparison of modeled and runtime architecture not possible across all layers root cause analysis is challenging and time consuming Incomplete impact analysis Objective a system, that owns knowledge about all realtime architecture components as well as their inter- and intralayer dependencies S 1 S 4 S 2 S 5 S 6 S 3 S 7 S 9 S 8 Discovered Application Layer Discovered Technology Layer ? A1 A2 V A3 A4 A5 Business Layer 171108 Schäfer, Patrick - Master's Thesis final presentation © sebis

Research questions 1 How to discover the Microservice Architecture by applying distributed tracing? What are component relationship types and how to discover them automatically? How to discover concurrency and synchronization? How to recognize changes in the Microservice Architecture? How to provide a smart user interface for adding business semantic on top of business services? 2 3 4 5 171108 Schäfer, Patrick - Master's Thesis final presentation © sebis

Prototypical Implementation Operating Environment Required components of the prototypes operating environment: Instrumented Services Service Repository Eureka Zipkin Server Zipkin Server Service Service Service API Gateway Client Service Service Service Eureka Repository Instrumented Distributed System Legend: Required Component Instrumented Service Optional Component Distributed Tracing Spans 171108 Schäfer, Patrick - Master's Thesis final presentation © sebis

Prototypical Implementation Discovery Concept: Architecture Model Business Layer Process Processes Activities Activity 1 Activity 2 Application Layer Services Service 1 Service 2 Service-Instances Instance 1.1 Instance 1.2 Instance 2 Technology Layer Hardware Hardware 1 Hardware 2 entities of output architecture entities are: Components, Revisions and Relations 171108 Schäfer, Patrick - Master's Thesis final presentation © sebis

Prototypical Implementation Discovery Concept: Architecture Model - Relations Implicit meaning of relations Business Layer Process Processes owns owns Activities Activity 1 is followed by Activity 2 is executed by is executed by Application Layer uses Services Service 1 Service 2 is composed of is composed of is composed of Service-Instances Instance 1.1 Instance 1.2 Instance 2 runs on runs on Technology Layer Closer look relations – every combination of component types => different implicit meaning Hardware Hardware 1 Hardware 2 171108 Schäfer, Patrick - Master's Thesis final presentation © sebis

Prototypical Implementation Discovery Concept: Architecture Model - Relations Relation classification: Interlayer- and Intralayer-Relations Business Layer Process Processes Activities Activity 1 Activity 2 Application Layer Services Service 1 Service 2 Service-Instances Instance 1.1 Instance 1.2 Instance 2 Technology Layer Hardware Hardware 1 Hardware 2 Hierarchical Interlayer-Relation Non-Hirarchical Intralayer-Relation 171108 Schäfer, Patrick - Master's Thesis final presentation © sebis

Prototypical Implementation Discovery Concept: Architecture Model - Relations Relation classification: Direct and Indirect Relations Business Layer Process Processes Activities Activity 1 Activity 2 Application Layer Services Service 1 Service 2 Service-Instances Instance 1.1 Instance 1.2 Instance 2 Technology Layer Hardware Hardware 1 Hardware 2 Direct Relation Indirect Relation 171108 Schäfer, Patrick - Master's Thesis final presentation © sebis

Prototypical Implementation Discovery Concept: Architecture Model - Relations Relation classification: Direct and Indirect Relations Business Layer Process Processes Activities Activity 1 Activity 2 Application Layer Services Service 1 Service 2 Service-Instances Instance 1.1 Instance 1.2 Instance 2 Technology Layer Hardware Hardware 1 Hardware 2 Indirect Relation Direct Relation Path of Indirect Relation 171108 Schäfer, Patrick - Master's Thesis final presentation © sebis

Prototypical Implementation Discovery Concept: Architecture Model - Relations Indirect Relations are necessary Activity 1 Activity 2 API Gateway Service Service 1 Service 2 Service 3 171108 Schäfer, Patrick - Master's Thesis final presentation © sebis

Prototypical Implementation Discovery Concept: Architecture Model - Relations Indirect Relations are necessary Activity 1 Activity 2 API Gateway Service Service 1 Service 2 Service 3 171108 Schäfer, Patrick - Master's Thesis final presentation © sebis

Prototypical Implementation Discovery Concept: Business Layer Modelling via Web UI: Process and Activity entities Process-flow Added to the architecture model via REST API Processes Activities Services Instances Hardware entities of output architecture entities are: Components, Revisions and Relations 171108 Schäfer, Patrick - Master's Thesis final presentation © sebis

Prototypical Implementation Discovery Concept: Application / Technology Layer Detection of Services, Instances, Hardware Interlayer-Relations of these types In Realtime by analysing Distributed Tracing Detects new entities only Cyclic by processing Eureka API Detects new, updated or removed entitites Processes Activities Services Instances Hardware entities of output architecture entities are: Components, Revisions and Relations 171108 Schäfer, Patrick - Master's Thesis final presentation © sebis

Prototypical Implementation Discovery Concept: Service intralayer Relations Detection of relations between Services in Realtime by analysing Distributed Tracing Spans Processes Activities Services Instances Hardware entities of output architecture entities are: Components, Revisions and Relations Distributed Tracing Span production* *Source: http://opentracing.io/documentation/pages/instrumentation/instrumenting-large-systems.html 171108 Schäfer, Patrick - Master's Thesis final presentation © sebis

Prototypical Implementation Discovery Concept: Business / Application Relations Detection of Interlayer-Relations between Activities and Services in Realtime Set of regular expressions mapping to activities Set defined via Web UI and REST API Distributed Tracing Spans applied to ruleset Processes Activities Services Instances Hardware entities of output architecture entities are: Components, Revisions and Relations 171108 Schäfer, Patrick - Master's Thesis final presentation © sebis

Prototypical Implementation Implementation: System Components Microservice Architecture Prototype Business Layer Modelling Webapplication Relation Ruleset Architecture- discovery service REST API Eureka Repository Architecture Visualization Distributed Tracing Websocket Bridge Kafka Stream entities of output architecture entities are: Components, Revisions and Relations 171108 Schäfer, Patrick - Master's Thesis final presentation © sebis

Prototypical Implementation Implementation: Environment Zipkin Server replaced by Prototype Prototype extends Zipkin implementation Zipkin Server Features stay complete and unmodified Zipkin Server Service Service Service API Gateway Service Client Service Service entities of output architecture entities are: Components, Revisions and Relations Eureka Repository Instrumented Distributed System 171108 Schäfer, Patrick - Master's Thesis final presentation © sebis

Prototypical Implementation Implementation: Environment Zipkin Server replaced by Prototype Prototype extends Zipkin implementation Zipkin Server Features stay complete and unmodified Prototype and Zipkin Server Service Service Service API Gateway Service Client Service Service entities of output architecture entities are: Components, Revisions and Relations Eureka Repository Instrumented Distributed System 171108 Schäfer, Patrick - Master's Thesis final presentation © sebis

Live Demonstration Scenario: Business Process Start Login Select Provider Search Route Book Route Logout Ende 171108 Schäfer, Patrick - Master's Thesis final presentation © sebis

Live Demonstration Scenario: Microservice Architecture Accounting Core Service Login Ende Start Select Provider Search Route Book Route Logout DeutscheBahn Mobility Service Zuul API Proxy Travel- companion Service Maps Helper Service DriveNow Mobility Service Business Core Service 171108 Schäfer, Patrick - Master's Thesis final presentation © sebis

Live Demonstration Scenario: Microservice Architecture Accounting Core Service Start DeutscheBahn Mobility Service Login Select Provider Zuul API Proxy Travel- companion Service Maps Helper Service Search Route Book Route DriveNow Mobility Service Logout Business Core Service Ende 171108 Schäfer, Patrick - Master's Thesis final presentation © sebis

Live Demonstration Scenario: Microservice Architecture Business Core Service Start DeutscheBahn Mobility Service Login Select Provider Zuul API Proxy Travel- companion Service Maps Helper Service Search Route Book Route DriveNow Mobility Service Logout Accounting Core Service Ende 171108 Schäfer, Patrick - Master's Thesis final presentation © sebis

Live Demonstration Scenario: Microservice Architecture Business Core Service Start DeutscheBahn Mobility Service Login Select Provider Zuul API Proxy Travel- companion Service Maps Helper Service Search Route Book Route DriveNow Mobility Service Logout Accounting Core Service Ende 171108 Schäfer, Patrick - Master's Thesis final presentation © sebis

Live Demonstration Scenario: Microservice Architecture Business Core Service Start DeutscheBahn Mobility Service Login Select Provider Zuul API Proxy Travel- companion Service Maps Helper Service Search Route Book Route DriveNow Mobility Service Logout Accounting Core Service Ende 171108 Schäfer, Patrick - Master's Thesis final presentation © sebis

Live Demonstration Scenario: Microservice Architecture Business Core Service Start DeutscheBahn Mobility Service Login Select Provider Zuul API Proxy Travel- companion Service Maps Helper Service Search Route Book Route DriveNow Mobility Service Logout Accounting Core Service Ende 171108 Schäfer, Patrick - Master's Thesis final presentation © sebis

Live Demonstration Scenario: Microservice Architecture Business Core Service Start DeutscheBahn Mobility Service Login Select Provider Zuul API Proxy Travel- companion Service Maps Helper Service Search Route Book Route DriveNow Mobility Service Logout Accounting Core Service Ende 171108 Schäfer, Patrick - Master's Thesis final presentation © sebis

Live Demonstration Scenario: Microservice Architecture Business Core Service Start DeutscheBahn Mobility Service Login Select Provider Zuul API Proxy Travel- companion Service Maps Helper Service Search Route Book Route DriveNow Mobility Service Logout Accounting Core Service Ende 171108 Schäfer, Patrick - Master's Thesis final presentation © sebis

Live Demonstration Scenario: Microservice Architecture - Deployment Eureka Zuul API Proxy Travel- companion Service Travel- companion Service DeutscheBahn Mobility Service DeutscheBahn Mobility Service Config Service Business Core Service DriveNow Mobility Service DriveNow Mobility Service Maps Helper Service Maps Helper Service Prototype Accounting Core Service Host 0 (10.0.2.100) Host 1 (10.0.2.110) Host 2.1 (10.0.2.121) Host 2.2 (10.0.2.121) 171108 Schäfer, Patrick - Master's Thesis final presentation © sebis

Live Demonstration 171108 Schäfer, Patrick - Master's Thesis final presentation © sebis

Limitations Requires Zipkin-compatible instrumentation as well as Eureka Amount of metainformation depends on instrumentation Raw communications like Database-Access is not detected Virtual Hosts are not detected Business layer is modelled 171108 Schäfer, Patrick - Master's Thesis final presentation © sebis

B.Sc. Patrick Schäfer patrick.schaefer@tum.de

Backup 171108 Schäfer, Patrick - Master's Thesis final presentation © sebis

Live Demonstration Scenario: Microservice Architecture Zuul API Proxy Travel- companion Service Business Core Service DriveNow Mobility Service DeutscheBahn Mobility Service Accounting Core Service Maps Helper Service Synchronous communication Asynchronous communication 171108 Schäfer, Patrick - Master's Thesis final presentation © sebis

Prototypical Implementation Discovery Concept: Architecture Model - Relations Relation classification: Direct and Indirect Relations Business Layer Process Processes Activities Activity 1 Activity 2 Application Layer Services Service 1 Service 2 Service-Instances Instance 1.1 Instanz 1.2 Instanz 2 Technology Layer Hardware Hardware 1 Hardware 2 Indirect Relation Direct Relation Path of Indirect Relation 171108 Schäfer, Patrick - Master's Thesis final presentation © sebis

Prototypical Implementation Implementation: Zipkin Server Extension Collektor MySQL Storage Prototypical Implementation Implementation: Zipkin Server Extension Span Span Span Span REST Collektor Kafka Collektor … Architecturediscoveryservice REST API MySQL DB Zipkin UI entities of output architecture entities are: Components, Revisions and Relations 171108 Schäfer, Patrick - Master's Thesis final presentation © sebis

Prototypical Implementation Implementation: Zipkin Server Extension Collektor Architecture Discovery Storage (Storage-Proxy) Prototypical Implementation Implementation: Zipkin Server Extension Span Span Span Span REST Collektor Kafka Collektor … Architecturediscoveryservice MySQL Storage Architecturediscoveryalgorithm Datamodel REST API MySQL DB Zipkin UI Webapplication Stream REST API MySQL DB entities of output architecture entities are: Components, Revisions and Relations 171108 Schäfer, Patrick - Master's Thesis final presentation © sebis

171108 Schäfer, Patrick - Master's Thesis final presentation © sebis

171108 Schäfer, Patrick - Master's Thesis final presentation © sebis

171108 Schäfer, Patrick - Master's Thesis final presentation © sebis

171108 Schäfer, Patrick - Master's Thesis final presentation © sebis