Hi! NET Developer Group Braunschweig!

Similar documents
BUILDING MICROSERVICES ON AZURE. ~ Vaibhav

Nevin Dong 董乃文 Principle Technical Evangelist Microsoft Cooperation

Industry-leading Application PaaS Platform

Zero to Microservices in 5 minutes using Docker Containers. Mathew Lodge Weaveworks

Connecting your Microservices and Cloud Services with Oracle Integration CON7348

SQL Azure. Abhay Parekh Microsoft Corporation

Microservices What, Why? ( 마이크로서비스를꼭써야하나 )

Reactive Microservices Architecture on AWS

High Availability Distributed (Micro-)services. Clemens Vasters Microsoft

Important DevOps Technologies (3+2+3days) for Deployment

Cloud-Native Applications. Copyright 2017 Pivotal Software, Inc. All rights Reserved. Version 1.0

Developing Microsoft Azure Solutions

Microservices on AWS. Matthias Jung, Solutions Architect AWS

Microservices Beyond the Hype. SATURN San Diego May 3, 2016 Paulo Merson

ARCHITECTING WEB APPLICATIONS FOR THE CLOUD: DESIGN PRINCIPLES AND PRACTICAL GUIDANCE FOR AWS

Managing Data at Scale: Microservices and Events. Randy linkedin.com/in/randyshoup

Real-life technical decision points in using cloud & container technology:

When (and how) to move applications from VMware to Cisco Metacloud

@unterstein #bedcon. Operating microservices with Apache Mesos and DC/OS

SUMMARY LAYERED ARCHITECTURE

Advanced Continuous Delivery Strategies for Containerized Applications Using DC/OS

Microservices Architekturen aufbauen, aber wie?

Containers, Serverless and Functions in a nutshell. Eugene Fedorenko

Microservices with Red Hat. JBoss Fuse

Web Service. Development. Framework and API. Management. Strategy and Best Practices. Yong Cao The Boeing Company RROI #: CORP

Developing Microsoft Azure Solutions (70-532) Syllabus

Building a Data-Friendly Platform for a Data- Driven Future

Windows Azure Services - At Different Levels

Web Applications. Software Engineering 2017 Alessio Gambi - Saarland University

Managing Openstack in a cloud-native way

Microservice Powered Orchestration

How to scale Windows Azure Application

DELIVERING WITH MICROSERVICES HOW TO ITERATE TOWARDS SOPHISTICATION

Achieving Scalability and High Availability for clustered Web Services using Apache Synapse. Ruwan Linton WSO2 Inc.

Pasiruoškite ateičiai: modernus duomenų centras. Laurynas Dovydaitis Microsoft Azure MVP

How to Keep UP Through Digital Transformation with Next-Generation App Development

利用 Mesos 打造高延展性 Container 環境. Frank, Microsoft MTC

Running Databases in Containers.

Avi Vantage Platform Architecture

Architecting Microsoft Azure Solutions (proposed exam 535)

Microsoft Azure Service Fabric 6.0 Release Notes

Orchestration: Accelerate Deployments and Reduce Operational Risk. Nathan Pearce, Product Development SA Programmability & Orchestration Team

Cloud Native Architecture 300. Copyright 2014 Pivotal. All rights reserved.

Architecting for Scale

Inside Broker How Broker Leverages the C++ Actor Framework (CAF)

Full Stack Reactive Angular 2, RxJava/JS, Vert.x, Docker

Microservices. Chaos Kontrolle mit Kubernetes. Robert Kubis - Developer Advocate,

RA-GRS, 130 replication support, ZRS, 130

Developing Microsoft Azure Solutions (70-532) Syllabus

Advanced threats. "Software defined" everything. Internet of Things. SDDC/Cloud. HTTP is the new TCP. Mobile. F5 Networks, Inc 2

Data Management in Application Servers. Dean Jacobs BEA Systems

Kuberiter White Paper. Kubernetes. Cloud Provider Comparison Chart. Lawrence Manickam Kuberiter Inc

Microservices at Netflix Scale. First Principles, Tradeoffs, Lessons Learned Ruslan

Disclaimer This presentation may contain product features that are currently under development. This overview of new technology represents no commitme

MarkLogic Server. MarkLogic Server on Microsoft Azure Guide. MarkLogic 9 January, 2018

Disclaimer This presentation may contain product features that are currently under development. This overview of new technology represents no commitme

Virtualization And High Availability. Howard Chow Microsoft MVP

MODERN APPLICATION ARCHITECTURE DEMO. Wanja Pernath EMEA Partner Enablement Manager, Middleware & OpenShift

The age of orchestration

Elizabeth Lawler CEO & Co-Founder Conjur,

Container 2.0. Container: check! But what about persistent data, big data or fast data?!

Building an on premise Kubernetes cluster DANNY TURNER

Bipul Sinha, Amit Ganesh, Lilian Hobbs, Oracle Corp. Dingbo Zhou, Basavaraj Hubli, Manohar Malayanur, Fannie Mae

RELIABILITY & AVAILABILITY IN THE CLOUD

Lessons Learned: Deploying Microservices Software Product in Customer Environments Mark Galpin, Solution Architect, JFrog, Inc.

Windows Server Windows Server Windows Server 2008

/ Cloud Computing. Recitation 5 February 14th, 2017

CONTINUOUS DELIVERY WITH DC/OS AND JENKINS

Docker and Oracle Everything You Wanted To Know

Software Design COSC 4353/6353 DR. RAJ SINGH

<Insert Picture Here> Oracle Coherence & Extreme Transaction Processing (XTP)

Building a Microservices Platform, Patterns and Best Practices

Scaling DreamFactory

Top five Docker performance tips

Agenda. AWS Database Services Traditional vs AWS Data services model Amazon RDS Redshift DynamoDB ElastiCache

Running MarkLogic in Containers (Both Docker and Kubernetes)

Let s say that hosting a cloudbased application is like car ownership

Implementing the Twelve-Factor App Methodology for Developing Cloud- Native Applications

MS-20487: Developing Windows Azure and Web Services

ebay Marketplace Architecture

Application Layer Introduction; HTTP; FTP

Designing for Scalability. Patrick Linskey EJB Team Lead BEA Systems

Containers and the Evolution of Computing

Microservices mit Java, Spring Boot & Spring Cloud. Eberhard Wolff

Cloud Programming James Larus Microsoft Research. July 13, 2010

GETTING STARTED WITH WINDOWS CONTAINERS, DOCKER AND AZURE

Send me up to 5 good questions in your opinion, I ll use top ones Via direct message at slack. Can be a group effort. Try to add some explanation.

Continuous delivery of Java applications. Marek Kratky Principal Sales Consultant Oracle Cloud Platform. May, 2016

Container-Native Storage

Service Mesh and Microservices Networking

Oracle WebLogic Server Multitenant:

ONAP Micro-service Design Improvement. Manoj Nair, NetCracker Technologies

Deccansoft Software Services

Why software defined storage matters? Sergey Goncharov Solution Architect, Red Hat

I keep hearing about DevOps What is it?

Microservices a security nightmare? GOTO Nights Zürich - March 3, 2016 Maximilian Container Solutions Switzerland

Web Services. Lecture I. Valdas Rapševičius. Vilnius University Faculty of Mathematics and Informatics

How Microsoft Built MySQL, PostgreSQL and MariaDB for the Cloud. Santa Clara, California April 23th 25th, 2018

Building loosely coupled and scalable systems using Event-Driven Architecture. Jonas Bonér Patrik Nordwall Andreas Källberg

SCALE AND SECURE MOBILE / IOT MQTT TRAFFIC

Transcription:

Hi! NET Developer Group Braunschweig! Über Tobias Dipl. Informatiker (FH) Passionated Software Developer Clean Code Developer.NET Junkie.NET User Group Lead Microsoft PFE Software Development Twitter @Blubern

Overview 1. What are Microservice 2. Pause 3. Service Fabric 4. Weihnachtsmarkt ;) Fragen gerne - Jederzeit Service Name

What are Microservice? The classic monolithic approach - Everything runs in a single process - Team Focus is on Technology - Changes need a build and deployment of everything - Modularity is in practice hard to keep (SOLID) - Team knowledge - Hard to be Agile - Scaling is hard DB Service Name

What are Microservice? The classic monolithic approach and scaling Load Balancer Server 1 Server 2 - Vertical scaling easy but expensive - Horizontal scaling with disadvantages - You can only clone everything - User has often a endpoint affinity (session) - Failures hard to recover - Persistence is often the bottleneck DB Server 3

What are Microservice? The classic monolithic approach from dev perspective Infrastructure / Platform Team Development Team 1 Development Team 2 Build Test Deploy Development Team 3 Development Team 4 All Teams depends: - DB Schema - Shared Libraries / Code - Technologies - Framework versions (.NET 4.5 vs. Core) - Service Name DB

What are Microservice? Anatomy of a microservice Internal Domain models Domain logic (business logic) Public API - Internals (everything is free) - Domain models - Persistence - Logic - UI - External (Contract) - API - Models Persist ence SOA Bounded Contexts Eric Evans 2003

What are Microservice? Typical microservice architecture - Application is build up from small Prices pieces - API Gateway hides the backend services API Gateway Customer Shopping Cart Products Suggestions

What are Microservice? Benefits of Microservices Development Team 1 Build Test Deploy Business driven Prices Independent deployments Free choice of technology Small focused teams Development Team 2 Build Test Deploy Scalability and availability Shopping Cart Fault isolation Agile (Continues improvements) Development Team 3 Build Test Deploy Customer

What are Microservice? Challenges of Microservices Monitoring and logging Service discovery and routing Versioning Orchestration complexity Network congestion Data integrity/consistency Testing Reliability Manage complexity Amazon Service Architecture 2009 https://apigee.com/about/blog/developer/microservices-amazon

What are Microservice? Challenges of Microservices Business Centric Development Management Teams DevOps Continues Deployment Finding the right size for a microservice Team size Complexity Scaling Fault Business flexibility

What are Microservice? Should I not use the classic monolithic approach Martin Fowler https://martinfowler.com/ bliki/microservicepremium.html

What are Microservice? https://github.com/netflix/chaosmonkey

COFFEE BREAK

What is Service Fabric? https://channel9.msdn.com/blogs/azure/azure-service-fabric

What is Service Fabric? Service Name Source

Where is Service Fabric used? Service build with Service Fabric. - Azure SQL Databases - Power BI - Skype for Business - Azure Document DB -. Service Name 8 Years Productive Same Code and Bits

What is Service Fabric? What is a Service Fabric Application Service C Machine 1 SF Node Machine 2 SF Node Machine 3 Machine 5 Machine 4 SF Node A B C SF Node SF Node

What is Service Fabric? Demo - Local Environment - Azure https://docs.microsoft.com/de-de/azure/service-fabric/service-fabric-get-started

What is Service Fabric? Service Fabric Infrastructure Services Cluster Manager Failover Manager Naming Service Image Store (not on OneBox) Upgrade Services (Azure Only) Fault Analysis Ports 19080 [REST] and 19000 [TCP] Performs cluster REST and PowerShell/FabricClient operations Rebalances resources as nodes come/go Maps service instances to endpoints Contains your Application packages Coordinates upgrading Service Fabric itself with Azure s Service Fabric Resource Provider Let s you inject faults to test your services DNS Service Maps dns names to endpoints

What is Service Fabric? Fault and Updates Domains Fault domains will be defined by the hardware 3 Update domains 3 Fault domains

What is Service Fabric? Platform capabilities Fast deployment Placement and activation Reliability High density Health reporting Coordinated upgrades

What is Service Fabric? What is a Service Fabric Application Service C

What is Service Fabric? What is a ServiceType? code => entry point (dll or exe) config => service specific config information config => data static resources (eg. images) Packages can be independently versioned <ServiceManifest Name="WebServerServicePkg" Version="1.0"> <ServiceTypes> <StatelessServiceType ServiceTypeName="WebServerServiceType"... > </StatelessServiceType> </ServiceTypes> <CodePackage Name="CodePkg" Version="1.0"> <EntryPoint> <ExeHost> <Program>WebServer.exe</Program> </ExeHost> </EntryPoint> </CodePackage> <Resources> <Endpoints> <Endpoint Name="WebServerTypeEndpoint" Type="Input" Protocol="http" Port="8080" /> </Endpoints> </Resources> </ServiceManifest>

What is Service Fabric? Programming Models Guest executables and Containers Reliable Services Reliable Actors ASP.Net Core Any executable Full SF Platform Small Framework Full SF Platform Any technology Small Framework on TOP of Reliable Stateless / Statefull Any programming (C# / Java) Services Reliable Model Stateless / Statefull Stateless / Statefull Collections Not full integrated Reliable Actor Design in SF Platform Collections Pattern Has a subset of Transactions Single Threaded features across Collections Execution Versioning, Transactions Monitoring,... across Collections

What is Service Fabric? Demo - Stateless Service

Cache What is Service Fabric? State Architecture Traditional Stateless Web Stateless Compute Stateful Data Load Balancer Other Internal Tiers? Stateful Stateless Web Stateful Compute Load Balancer

What is Service Fabric? Reliable Collections Reliable Dictionary: Represents a replicated, transactional, and asynchronous collection of key/value pairs. Similar to ConcurrentDictionary, both the key and the value can be of any type. Reliable Queue: Represents a replicated, transactional, and asynchronous strict first-in, first-out (FIFO) queue. Similar to ConcurrentQueue, the value can be of any type. Reliable Concurrent Queue: Represents a replicated, transactional, and asynchronous best effort ordering queue for high throughput. Similar to the ConcurrentQueue, the value can be of any type.

What is Service Fabric? Demo - Statefull Service

THANK YOU

What are Microservice? In short, the microservice architectural style is an approach to developing 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. These services are built around business capabilities and independently deployable by fully automated deployment machinery. 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. Service Name James Lewis and Martin Fowler

What are Microservice? Links https://martinfowler.com/articles/microservices.html Transfer from monolithic https://docs.microsoft.com/en-us/azure/architecture/patterns/strangler https://docs.microsoft.com/en-us/azure/architecture/patterns/anti-corruption-layer https://docs.microsoft.com/en-us/azure/architecture/