16 Avril 2016
Groupe Azure
Sujet: Les micro-services et Azure Service Fabric
Conférenciers: Alexandre Brisebois, Microsoft, Stéphane Lapointe, Orckestra et Frank Boucher, Lixar IT
Nous vous proposons une journée complète sur les micro-services et Azure Service Fabric, le but étant d'appendre la théorie avec une série de présentations pour ensuite concrétiser le tout avec une partie pratique "hands-on" et des labs.
Pour participer, vous devrez obligatoirement apporter votre ordinateur portable, avoir installé Visual Studio 2015 Update 2 et Service Fabric SDK 2.0.135.
Service Fabric – building tomorrows applications todayBizTalk360
This session walks through incorporating Microsoft Service Fabric into your next application for zero downtime and upgradability. Microsoft have released the very same Azure Fabric smarts that look after for e.g. Azure VM management, into the Application space. Meaning your Apps can be based on the Actor model, highly distributed, scalable and in place upgrades with zero down time is now possible. Tapping into scale is key in this world of Cloud First, Device First world - can your apps handle the load? Bring the management of Azure to your application layer.
Azure Service Fabric and the Actor Model: when did we forget Object Orientation?João Pedro Martins
Session presented at DDD event in TVP/Microsoft UK HQ. Introduction to Azure Service Fabric, and focus on the actor model (formerly known as Project Orleans), with demos and documentation on how it is supported in Service Fabric. Goal: ask ourselves why did we really replace OO with "stateless services".
Azure Automation delivers cloud-based automation, operating system updates, and configuration service that supports consistent management across your Azure and non-Azure environments. It includes process automation, configuration management, update management, shared capabilities, and heterogeneous features.
Experiences using CouchDB inside Microsoft's Azure teamBrian Benz
Co-presented with Will Perry (@willpe). Real-world experiences using CouchDB inside Microsoft, and also how to get started with CouchDB on Microsoft Azure.
Service Fabric – building tomorrows applications todayBizTalk360
This session walks through incorporating Microsoft Service Fabric into your next application for zero downtime and upgradability. Microsoft have released the very same Azure Fabric smarts that look after for e.g. Azure VM management, into the Application space. Meaning your Apps can be based on the Actor model, highly distributed, scalable and in place upgrades with zero down time is now possible. Tapping into scale is key in this world of Cloud First, Device First world - can your apps handle the load? Bring the management of Azure to your application layer.
Azure Service Fabric and the Actor Model: when did we forget Object Orientation?João Pedro Martins
Session presented at DDD event in TVP/Microsoft UK HQ. Introduction to Azure Service Fabric, and focus on the actor model (formerly known as Project Orleans), with demos and documentation on how it is supported in Service Fabric. Goal: ask ourselves why did we really replace OO with "stateless services".
Azure Automation delivers cloud-based automation, operating system updates, and configuration service that supports consistent management across your Azure and non-Azure environments. It includes process automation, configuration management, update management, shared capabilities, and heterogeneous features.
Experiences using CouchDB inside Microsoft's Azure teamBrian Benz
Co-presented with Will Perry (@willpe). Real-world experiences using CouchDB inside Microsoft, and also how to get started with CouchDB on Microsoft Azure.
Microservices with Java, Spring Boot and Spring CloudEberhard Wolff
Spring Boot makes creating small Java application easy - and also facilitates operations and deployment. But for Microservices need more: Because Microservices are a distributed systems issues like Service Discovery or Load Balancing must be solved. Spring Cloud adds those capabilities to Spring Boot using e.g. the Netflix stack. This talks covers Spring Boot and Spring Cloud and shows how these technologies can be used to create a complete Microservices environment.
Organizations focus process optimization of
Data Tier
Application Tier
Presentation Tier is usually ignored.
Presentation Tier is responsible for more than 30% of Client/Server application performance.
Develop enterprise-ready applications for Microsoft TeamsMarkus Moeller
Develop enterprise-ready applications for Microsoft Teams with Azure resources such as Azure App Config and Azure Key Vault authenticated by Managed Identity and on modern web technologies
Lets talk about: Azure Kubernetes Service (AKS)Pedro Sousa
Let's talk about the Azure Kubernetes Service (AKS), starting off by some background on the container's evolution through time up to the new management features provided by Azure like Azure ARC for Kubernetes. Key differences of Azure Kubernetes Service, Azure Container Instances, Web App for Containers and Containers on Azure Service Fabric.
Deep dive into service fabric after 2 yearsTomasz Kopacz
How to use more advanced capabilities built-in into service fabric. How to create scalable and FAST applications. When to choose stateless, statefull and actor services. How to deploy any exe to service fabric.
Samples: https://github.com/tkopacz/2016DeveloperDays
Automating Your Microsoft Azure Environment (DevLink 2014)Michael Collier
Discussion of various automation options available in the Microsoft Azure platform - Azure Automation, PowerShell, Azure Management Libraries, Azure Resource Manager, and Brewmaster.
Devteach 2016: A practical overview of actors in service fabricBrisebois
Today's Internet-scale services are built using microservices. Service Fabric is a next-generation middleware platform used for building enterprise-class, Tier-1 services. This microservices platform allows us to build scalable, highly available, reliable, and easy to manage solutions. It addresses the significant challenges in developing and managing stateful services. The Reliable Actors API is one of two high-level frameworks provided by Service Fabric, and it is based on the Actor pattern. This API gives us an asynchronous, single-threaded programming model that simplifies our code while still providing the advantages of scalability and reliability guarantees offered by Service Fabric.In this talk, we will run through the what, when and how of various aspects of Service Fabric and Reliable Actors. If time permits, we'll delve into advantages, strategies, patterns and practices that can help you deliver value without reducing your agility.
Slides from the April 27th, 2016 Milwaukee Java Meetup held at DigitalMeasures in Milwaukee WI.
Example code and configuration at:
https://github.com/shall11672/mkej-config
https://github.com/shall11672/mkej-configServer
https://github.com/shall11672/mkej-eurekaService
https://github.com/shall11672/mkej-greetingService
https://github.com/shall11672/mkej-menuService
https://github.com/shall11672/mkej-apiGateway
https://github.com/shall11672/mkej-monitoringApplication
Network security with Azure PaaS services by Erwin Staal from 4DotNet at Azur...DevClub_lv
Erwin Staal from 4DotNet will share experience on “Network security with Azure PaaS services“.
He will share some of the things he learned while implementing network security at his current client. We will start with a short introduction to the basics of networking in Azure. He will present to you some best practices and tell you about some of the limitations you need to know before getting started. We will talk about how you for example can lock-down your API or SQL-server. To do that we will use relatively new Azure offerings like Service endpoints, Private endpoints, and VPN connections.
Erwin is a .NET Software Engineer and DevOps Consultant at 4DotNet. He’s helping clients with ASP.NET Core, Docker and Kubernetes and as a DevOps Consultant he helps companies with the implementation of DevOps and Continuous Delivery.
“Microservices” have become a trendy development strategy. Hosting and running such services used to be pretty painful... but here comes Service Fabric! Let’s take a closer look at this platform, its different development models and all the features it offers, and not only for microservices!
2011.05.31 super mondays-servicebus-demodaveingham
Presentation by David Ingham demonstrating the messaging features (queues, topics) of Windows Azure AppFabric Service Bus. Given at SuperMondays, Gateshead, UK on May 31, 2011.
Using Azure Managed Identities for your App Services by Jan de Vries from 4Do...DevClub_lv
Jan de Vries from 4DotNet will share experience on “Using Azure Managed Identities for your App Services“.
He will show you what needs to be set up in your application and AAD to get you started. When everything is set up correctly you can manage the access to all of your API’s via Azure Active Directory and even restrict access to specific endpoints if you want.
You’ll leave this session knowing how to set up your services by using the built-in capabilities of Azure and make your complete environment more secure and easy to manage.
Jan is a Cloud Solution Architect at 4DotNet (Netherlands). His main focus is on developing highly performant and scalable solutions using the awesome services provided by the Microsoft Azure platform. Because of his expertise, he has been able to help out multiple customers to bring their on-premise solution to the cloud and guide them towards a better software development ecosystem.
Tokyo Azure Meetup #5 - Microservices and Azure Service FabricTokyo Azure Meetup
Azure Service Fabric is now Generally Available!
In this meetup we will start from the beginning and define what is microservice.
Next we will have a deep dive in Azure Service Fabric. Azure Service Fabric is one of the most interesting Azure service. Used internally in Microsoft for 5 years and backing up one of the most demanding Azure services today such as Azure SQL, Document DB, Cortana and Skype for Business.
We will be talking about the two models that are supported by Azure Service Fabric:
- Reliable Services (We will explore the reasons for having both stateful and stateless offerings in this model)
- Reliable Actors
Then we will talk how you can create Azure Service Fabric cluster on premise or in another cloud.
We will demo deployments in Azure for the various models.
Azure Service Fabric is the most advanced and complete offering for developing and hosting microservices in Azure. It builds on years experience Microsoft acquired running one of the most demanding services such as Azure SQL. Moreover, Azure Service Fabric solves very difficult distributed computing problems such as data synchronization, zero downtime deployment, update and rollback operations at large scale.
Join us to learn more about Azure Service Fabric and start using it immediately after the meetup!
Azure paa s v2 – microservices, microsoft (azure) service fabric, .apps and o...Tomasz Kopacz
How to build architecture based on microservices. What is Azure Service Fabric, and how this technology help us to build stateless and statefull services. How to start with actor-based programming. How to use also *.Apps and containers in microservices world. And of course – how to deal with many, many objects and components in our application.
Level: 300 (ok – 200, because I will explain basic concepts – but on the other hands those topic (especially around actors) are quite complicated)
From: http://net.developerdays.pl/
Microservices with Java, Spring Boot and Spring CloudEberhard Wolff
Spring Boot makes creating small Java application easy - and also facilitates operations and deployment. But for Microservices need more: Because Microservices are a distributed systems issues like Service Discovery or Load Balancing must be solved. Spring Cloud adds those capabilities to Spring Boot using e.g. the Netflix stack. This talks covers Spring Boot and Spring Cloud and shows how these technologies can be used to create a complete Microservices environment.
Organizations focus process optimization of
Data Tier
Application Tier
Presentation Tier is usually ignored.
Presentation Tier is responsible for more than 30% of Client/Server application performance.
Develop enterprise-ready applications for Microsoft TeamsMarkus Moeller
Develop enterprise-ready applications for Microsoft Teams with Azure resources such as Azure App Config and Azure Key Vault authenticated by Managed Identity and on modern web technologies
Lets talk about: Azure Kubernetes Service (AKS)Pedro Sousa
Let's talk about the Azure Kubernetes Service (AKS), starting off by some background on the container's evolution through time up to the new management features provided by Azure like Azure ARC for Kubernetes. Key differences of Azure Kubernetes Service, Azure Container Instances, Web App for Containers and Containers on Azure Service Fabric.
Deep dive into service fabric after 2 yearsTomasz Kopacz
How to use more advanced capabilities built-in into service fabric. How to create scalable and FAST applications. When to choose stateless, statefull and actor services. How to deploy any exe to service fabric.
Samples: https://github.com/tkopacz/2016DeveloperDays
Automating Your Microsoft Azure Environment (DevLink 2014)Michael Collier
Discussion of various automation options available in the Microsoft Azure platform - Azure Automation, PowerShell, Azure Management Libraries, Azure Resource Manager, and Brewmaster.
Devteach 2016: A practical overview of actors in service fabricBrisebois
Today's Internet-scale services are built using microservices. Service Fabric is a next-generation middleware platform used for building enterprise-class, Tier-1 services. This microservices platform allows us to build scalable, highly available, reliable, and easy to manage solutions. It addresses the significant challenges in developing and managing stateful services. The Reliable Actors API is one of two high-level frameworks provided by Service Fabric, and it is based on the Actor pattern. This API gives us an asynchronous, single-threaded programming model that simplifies our code while still providing the advantages of scalability and reliability guarantees offered by Service Fabric.In this talk, we will run through the what, when and how of various aspects of Service Fabric and Reliable Actors. If time permits, we'll delve into advantages, strategies, patterns and practices that can help you deliver value without reducing your agility.
Slides from the April 27th, 2016 Milwaukee Java Meetup held at DigitalMeasures in Milwaukee WI.
Example code and configuration at:
https://github.com/shall11672/mkej-config
https://github.com/shall11672/mkej-configServer
https://github.com/shall11672/mkej-eurekaService
https://github.com/shall11672/mkej-greetingService
https://github.com/shall11672/mkej-menuService
https://github.com/shall11672/mkej-apiGateway
https://github.com/shall11672/mkej-monitoringApplication
Network security with Azure PaaS services by Erwin Staal from 4DotNet at Azur...DevClub_lv
Erwin Staal from 4DotNet will share experience on “Network security with Azure PaaS services“.
He will share some of the things he learned while implementing network security at his current client. We will start with a short introduction to the basics of networking in Azure. He will present to you some best practices and tell you about some of the limitations you need to know before getting started. We will talk about how you for example can lock-down your API or SQL-server. To do that we will use relatively new Azure offerings like Service endpoints, Private endpoints, and VPN connections.
Erwin is a .NET Software Engineer and DevOps Consultant at 4DotNet. He’s helping clients with ASP.NET Core, Docker and Kubernetes and as a DevOps Consultant he helps companies with the implementation of DevOps and Continuous Delivery.
“Microservices” have become a trendy development strategy. Hosting and running such services used to be pretty painful... but here comes Service Fabric! Let’s take a closer look at this platform, its different development models and all the features it offers, and not only for microservices!
2011.05.31 super mondays-servicebus-demodaveingham
Presentation by David Ingham demonstrating the messaging features (queues, topics) of Windows Azure AppFabric Service Bus. Given at SuperMondays, Gateshead, UK on May 31, 2011.
Using Azure Managed Identities for your App Services by Jan de Vries from 4Do...DevClub_lv
Jan de Vries from 4DotNet will share experience on “Using Azure Managed Identities for your App Services“.
He will show you what needs to be set up in your application and AAD to get you started. When everything is set up correctly you can manage the access to all of your API’s via Azure Active Directory and even restrict access to specific endpoints if you want.
You’ll leave this session knowing how to set up your services by using the built-in capabilities of Azure and make your complete environment more secure and easy to manage.
Jan is a Cloud Solution Architect at 4DotNet (Netherlands). His main focus is on developing highly performant and scalable solutions using the awesome services provided by the Microsoft Azure platform. Because of his expertise, he has been able to help out multiple customers to bring their on-premise solution to the cloud and guide them towards a better software development ecosystem.
Tokyo Azure Meetup #5 - Microservices and Azure Service FabricTokyo Azure Meetup
Azure Service Fabric is now Generally Available!
In this meetup we will start from the beginning and define what is microservice.
Next we will have a deep dive in Azure Service Fabric. Azure Service Fabric is one of the most interesting Azure service. Used internally in Microsoft for 5 years and backing up one of the most demanding Azure services today such as Azure SQL, Document DB, Cortana and Skype for Business.
We will be talking about the two models that are supported by Azure Service Fabric:
- Reliable Services (We will explore the reasons for having both stateful and stateless offerings in this model)
- Reliable Actors
Then we will talk how you can create Azure Service Fabric cluster on premise or in another cloud.
We will demo deployments in Azure for the various models.
Azure Service Fabric is the most advanced and complete offering for developing and hosting microservices in Azure. It builds on years experience Microsoft acquired running one of the most demanding services such as Azure SQL. Moreover, Azure Service Fabric solves very difficult distributed computing problems such as data synchronization, zero downtime deployment, update and rollback operations at large scale.
Join us to learn more about Azure Service Fabric and start using it immediately after the meetup!
Azure paa s v2 – microservices, microsoft (azure) service fabric, .apps and o...Tomasz Kopacz
How to build architecture based on microservices. What is Azure Service Fabric, and how this technology help us to build stateless and statefull services. How to start with actor-based programming. How to use also *.Apps and containers in microservices world. And of course – how to deal with many, many objects and components in our application.
Level: 300 (ok – 200, because I will explain basic concepts – but on the other hands those topic (especially around actors) are quite complicated)
From: http://net.developerdays.pl/
Overview session of Microsoft's Azure Service Fabric Overview (v1.5.175), delivered at AzurePT community event in Lisbon, held March 26. The session describes all the main components of the platform, with a focus on its architecture.
Les micro orm, alternatives à entity frameworkMSDEVMTL
L'arrivée il y 10 ans d'Entity Framework a permis de manipuler une base de données sans écrire une seule ligne de SQL.Entity Framework a apporté son lot d'avantages mais aussi d'inconvénients.
Aujourd'hui il existe différentes alternatives à ce dernier, les micro ORM.Nous allons voir en quoi ils sont intéressants : leur compatibilité avec les différentes bases de données, leur simplicité, leur performance, la communauté autour de ces derniers.
Azure Service Fabric pour les développeursMicrosoft
"Venez découvrir comment Service Fabric va déverrouiller le potentiel de vos applications et de vos équipes : élasticité, modularité, scalabilité.
A travers de multiples démonstrations techniques, les secrets du développement pour Service Fabric vous seront révélés (Micro Services, Actor Model, Reliable storage, gestion des ressource).
"
How ddd, cqrs and event sourcing constitute the architecture of the futureMSDEVMTL
Application monolithique, Client serveur et N-tiers sont des modèles architecturaux du passé. Aujourd'hui on parle d'applications distribuées, de micro-services et d'acteurs. Mais comment implémenter ces nouveaux modèles d'architecture sans y laisser notre peau? Au cours de cette présentation nous verrons comment résoudre le théorème CAP et livrer une application agile qui répondra au besoins présents et futurs de nos clients.
Introduction à la sécurité dans ASP.NET CoreMSDEVMTL
Nous aborderons différentes façons de sécuriser votre application ainsi que vos données sous .NET Core. Au menu? La nouvelle API Data Protection, nous verrons quel en est sa philosophie. J'introduirais également le nouveau mécanisme d'authentification avec ASP.NET Core Identity et les autorisations avec ASP.NET Core authorization
Vous êtes de retour des vacances et déjà... des changements dans .NET Core. Nous ferrons un suivi de ce qui se passe dans l'environnement afin de vous garder au courant des derniers changements.
13 février 2017
Groupe Excel + Power BI
Cathy Monier, est venue nous rencontrer, de la France, pour nous présenter un cas concret d'élaboration de tableau de bord de ressources humaines avec un traitement de données avancé dans Power Query.
Elle nous a également montré comment récupérer des définitions de fonctions de Power Query en français.
Finalement, elle nous a montré comment utiliser l'API de Meetup pour récupérer les données de notre groupe (données sur les membres et sur les meetings).
Notre voyage vers le déploiement continu avec micro-services, la conteneurisation et l'orchestration des conteneurs utilisant Kubernetes. Sur notre chemin, nous avons dû créer divers outils pour nous aider à mieux utiliser et tester le tout avant d'aller en production. Nous avons également intégré une variété d'autres outils pour nous donner de la visibilité sur notre plate-forme. Cette conférence sera un aperçu de notre voyage jusqu'à maintenant.
Our journey towards continuous deployment with micro-services, containerization and orchestration of containers using Kubernetes. On our way there, we've had to create various tools to help us better use and test everything before going to production. We also had to integrate a variety of other tools to give us visibility on our platform.
This talk will be an overview of our journey up to now.
Le Microsoft Graph et le développement Office 365MSDEVMTL
Ça y est! Après des années à souffrir à développer sur des plateformes comme SharePoint, le développeur est maintenant gâté dans les sphères de la plateforme de productivité de Microsoft. En pivotant au modèle Office 365, Microsoft a introduit le Microsoft Graph comme unique passerelle vers les données de l'entreprise contenues dans Exchange Online, SharePoint Online, Skype for Business, OneDrive for Business, etc.
Dans cette session, il sera question d'une introduction aux concepts du Microsoft Graph ainsi que différents scénarios d'exploitation du Graph. (Application web ASP.NET, AngularJS, etc.)
Nous discuterons aussi d'un élément fondamental qui est Azure AD et comment nous pouvons intégrer le Microsoft Graph dans vos applications existantes.
Pour terminer, nous discuterons des surfaces d'intégration de vos applications dans l'environnement Office 365 qui sont les Office Add-Ins, les SharePoint Add-Ins ainsi que les Office 365 Apps.
13 juin 2016
Groupe Excel et Power BI
Sujet: Les platerformes analytiques de Microsoft
Conférencier: Stéphane Fréchette
Stéphane nous a parlé de toutes les plateformes disponibles en ce moment chez Microsoft, pour faire de la BI et de l'analyse de données, ainsi que du plan de développement futur.
Robert Luong: Analyse prédictive dans ExcelMSDEVMTL
15 mars 2017
Groupe Excel et Power BI
Sujet: Analyse prédictive dans Excel
Conférencier: Robert Luong
Ensuite, nous recevrons Robert Luong, qui viendra nous parler de l’analyse prédictive avec Azure ML et l’intégration avec Excel. Azure ML est un service d’analyse prédictive sur l’infonuagique qui permet de créer et de déployer rapidement des modèles prédictifs sous forme de solutions d’analyse. Azure ML fournit non seulement des outils pour modéliser des analyses prédictives, mais également un service entièrement pris en charge, que vous pouvez utiliser pour déployer vos modèles prédictifs sous la forme de services web.
If you need to build highly performant, mission critical ,microservice-based system following DevOps best practices, you should definitely check Service Fabric!
Service Fabric is one of the most interesting services Azure offers today. It provide unique capabilities outperforming competitor products.
We are seeing global companies start to use Service Fabric for their mission critical solutions.
In this talk we explore the current state of Service Fabric and dive deeper to highlight best practices and design patterns.
We will cover the following topics:
• Service Fabric Core Concepts
• Cluster Planning and Management
• Stateless Services
• Stateful Services
• Actor Model
• Availability and reliability
• Scalability and perfromance
• Diganostics and Monitoring
• Containers
• Testing
• IoT
Live broadcast on https://www.youtube.com/watch?v=Zuxfhpab6xo
Guy Barrette: Afficher des données en temps réel dans PowerBIMSDEVMTL
15 mars 2017
Groupe Excel et Power BI
Sujet: Afficher des données en temps réel dans PowerBI
Conférencier: Guy Barrette, MVP Azure
Il existe plusieurs façons de rafraîchir les données affichées dans un tableau de bord et ce, tout dépendant du type de connecteur utilisé et de la version de Power BI utilisée (gratuite ou payante). Normalement, on peut rafraîchir les données une fois par jour ou une fois par heure mais comment faire si on désire afficher des données en temps réel ? Lors de cette présentation, Guy Barrette démontrera deux techniques permettant l’affichage en temps réel : le Streaming Dataset de PowerBI et le service Stream Analytics de Azure. Notez que cette présentation intéressera autant les développeurs que les analystes.
There are options beyond a straight forward lift and shift into Azure IaaS. What are your options? Learn how Azure helps modernize applications faster with containers and how you can use serverless to add additional functionality while keeping your production codebase 'clean'. We'll also learn how to incorporate DevOps throughout your apps lifecycle and take advantage of data-driven intelligence. Demo intensive session integrating the likes of Service Fabric, AKS VSTS and more.
Second edition of this popular interactive workshop, this time we focussed on the new “Windows Azure Accelerator for Umbraco” CodePlex project.
Topics
Web & Worker Role
Virtual Machine sizes & performance
Storage Types: Blobs, Tables, Azure SQL, queues
No local persistant storage
Network Load Balancing (round robin)
Scale out to multiple instances
Multiples websites in one Azure account
Azure Content Delivery Network
Swap between development & production environments
Typical monthly costs to host Umbraco site
Q&A
.NET Usergroup Oldenburg 26. März 2015 - von Winfried Klinker und Andre Hühn
Microsoft Azure gehört zu den Cloud-Diensten, die Microsoft anbietet. Es umfasst neben dem Hosting von virtuellen Maschinen insbesondere eine große Sammlung an Diensten (wie SQL Azure, Mobile Services, Machine Learning).
Wir geben einen ersten Überblick über die Features von Azure insbesondere für Entwickler. Dabei werden wir sowohl auf die Platform as a Service (PaaS) Angebote wie auch auf die Infrastructe as a Service (IaaS) eingehen. Außerdem geben wir einen Einblick in moderne Cloud Architektur und zeigen Best Practices bei der Cloud Entwicklung auf. Dabei werden Beispiele aus der Praxis zeigen, wie man eine Fehlertolerante und robuste Cloud Lösung erstellen kann.
Über die Sprecher:
Winfried Klinker ist als Software Architekt bei der Firma Sitrion in Oldenburg tätig. Er beschäftigt sich größtenteils mit Cloud Architekturen mit Microsoft Azure vor allem in Bezug auf Backends für mobile Anwendungen.
Andre Hühn ist Team Lead für Entwicklung mobiler Apps bei der Firma Sitrion in Oldenburg und beeinflusst damit die Richtung der Architektur für das Sitrion ONE Produkt.
The presentation covers in detail how to build intelligent microservices solutions using Azure App Service features in Azure. The presentation is a demo driven and demonstrate how to design and provision complete end-to-end solutions using cloud services & Azure App Services capabilities.
In this presentation you will see how to use Microsoft Azure Mobile Services to add structured storage, integrated authentication and scaling to your Windows apps. Presented November 15, 2014 at the London Azure Camp hosted by the London .NET Developers group in London, Ontario, Canada.
Join us for a deep dive into Windows Azure. We’ll start with a developer-focused overview of this brave new platform and the cloud computing services that can be used either together or independently to build amazing applications. As the day unfolds, we’ll explore data storage, SQL Azure™, and the basics of deployment with Windows Azure. Register today for these free, live sessions in your local area.
Similar to Stephane Lapointe, Frank Boucher & Alexandre Brisebois: Les micro-services et Azure Service Fabric (Global Azure Bootcamp 2016) (20)
L'approche de tests par propriétés est une alternative aux techniques de tests basés sur des exemples.
Cette approche est conçue pour tester les aspects d'une propriété qui doit toujours être vraie. Ceci permet de couvrir un grand éventail de valeurs d'entrées programmatiquement et de tester celles-ci en un seul test. Contrairement aux tests basés sur des exemples où l'on doit faire un test pour chaque exemple.
Nous couvrirons les outils requis pour débuter à utiliser les tests par propriété.
Nous construirons ensemble une suite de tests afin de démontrer la puissance de cette approche dans un cas réel.
- Accès aux données (CRUD) avec Entity Framework et quelques optimisations d eperformance grâce à des extensions pour EF Core. Des alternatives à EF Core telles que ORMLite nous aborderons également.
- Gestion de services multitenant avec L'injection de dépendance dynamique
- Api versioning
- Streaming
- la compression
- L'intégration avec Application Insights & live metrics
- Protéger les données secretes avec AzureKeyvault
- Healthcheck
- Policy retry et circuit breaker sur les HttpClient et call sql avec Polly
- Mise à jour de la partie 1 concernant TestServer: utilisation de la webapplicationfactory
Groupe Excel et Power BI - Rencontre du 25 septembre 2018MSDEVMTL
Voici la présentation d'introduction du groupe d'usagers Montreal Modern Excel and Power BI du 25 septembre 2018. Elle vous montre notamment comment aller récupérer les documents de nos meetings.
Authenticating, validating, caching, error handling, logging, documenting, testing and profiling are common features in web API, here are code samples to show how to implement them!
Stephane Lapointe: Governance in Azure, keep control of your environmentsMSDEVMTL
June 11th 2018
Azure Group
Subject: Governance in Azure, keep control of your environments.
Speaker: Stephane Lapointe, Azure MVP
It's very easy to lose control over what's happening in your Azure environments. In this talk, see solutions for managing security, costs, and governance. We'll talk about tools like tags, RBAC, policies, Azure Security Center & Azure Advisors to implement initiatives that will greatly help your management in Azure.
Eric Routhier: Garder le contrôle sur vos coûts AzureMSDEVMTL
11 juin 2018
Groupe Azure
Sujet: Garder le contrôle sur vos coûts Azure
Confériencier: Eric Routhier
Azure permet aux entreprises d'être plus agiles et plus innovantes en décentralisant la gestion de l'infrastructure. En contrepartie, les coûts augmentent souvent rapidement et les administrateurs se demandent parfois s'ils l’exploitent vraiment à son plein potentiel. Apprenez comment gagner une meilleure visibilité sur votre consommation Azure et surtout apprenez quelques trucs pour réduire votre facture considérablement!
Open id connect, azure ad, angular 5, web api coreMSDEVMTL
Dans cette se session nous allons démystifier la configuration et l'utilisation d'Open Id Connect avec Azure AD.
L'application cliente sera un SPA Angular 5, implémentant la librairie ADAL.JS, enfin nous allons voir comment proétéger une WebAPI avec un JSON Web Token (JWT)
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf91mobiles
91mobiles recently conducted a Smart TV Buyer Insights Survey in which we asked over 3,000 respondents about the TV they own, aspects they look at on a new TV, and their TV buying preferences.
Search and Society: Reimagining Information Access for Radical FuturesBhaskar Mitra
The field of Information retrieval (IR) is currently undergoing a transformative shift, at least partly due to the emerging applications of generative AI to information access. In this talk, we will deliberate on the sociotechnical implications of generative AI for information access. We will argue that there is both a critical necessity and an exciting opportunity for the IR community to re-center our research agendas on societal needs while dismantling the artificial separation between the work on fairness, accountability, transparency, and ethics in IR and the rest of IR research. Instead of adopting a reactionary strategy of trying to mitigate potential social harms from emerging technologies, the community should aim to proactively set the research agenda for the kinds of systems we should build inspired by diverse explicitly stated sociotechnical imaginaries. The sociotechnical imaginaries that underpin the design and development of information access technologies needs to be explicitly articulated, and we need to develop theories of change in context of these diverse perspectives. Our guiding future imaginaries must be informed by other academic fields, such as democratic theory and critical theory, and should be co-developed with social science scholars, legal scholars, civil rights and social justice activists, and artists, among others.
Accelerate your Kubernetes clusters with Varnish CachingThijs Feryn
A presentation about the usage and availability of Varnish on Kubernetes. This talk explores the capabilities of Varnish caching and shows how to use the Varnish Helm chart to deploy it to Kubernetes.
This presentation was delivered at K8SUG Singapore. See https://feryn.eu/presentations/accelerate-your-kubernetes-clusters-with-varnish-caching-k8sug-singapore-28-2024 for more details.
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...DanBrown980551
Do you want to learn how to model and simulate an electrical network from scratch in under an hour?
Then welcome to this PowSyBl workshop, hosted by Rte, the French Transmission System Operator (TSO)!
During the webinar, you will discover the PowSyBl ecosystem as well as handle and study an electrical network through an interactive Python notebook.
PowSyBl is an open source project hosted by LF Energy, which offers a comprehensive set of features for electrical grid modelling and simulation. Among other advanced features, PowSyBl provides:
- A fully editable and extendable library for grid component modelling;
- Visualization tools to display your network;
- Grid simulation tools, such as power flows, security analyses (with or without remedial actions) and sensitivity analyses;
The framework is mostly written in Java, with a Python binding so that Python developers can access PowSyBl functionalities as well.
What you will learn during the webinar:
- For beginners: discover PowSyBl's functionalities through a quick general presentation and the notebook, without needing any expert coding skills;
- For advanced developers: master the skills to efficiently apply PowSyBl functionalities to your real-world scenarios.
State of ICS and IoT Cyber Threat Landscape Report 2024 previewPrayukth K V
The IoT and OT threat landscape report has been prepared by the Threat Research Team at Sectrio using data from Sectrio, cyber threat intelligence farming facilities spread across over 85 cities around the world. In addition, Sectrio also runs AI-based advanced threat and payload engagement facilities that serve as sinks to attract and engage sophisticated threat actors, and newer malware including new variants and latent threats that are at an earlier stage of development.
The latest edition of the OT/ICS and IoT security Threat Landscape Report 2024 also covers:
State of global ICS asset and network exposure
Sectoral targets and attacks as well as the cost of ransom
Global APT activity, AI usage, actor and tactic profiles, and implications
Rise in volumes of AI-powered cyberattacks
Major cyber events in 2024
Malware and malicious payload trends
Cyberattack types and targets
Vulnerability exploit attempts on CVEs
Attacks on counties – USA
Expansion of bot farms – how, where, and why
In-depth analysis of the cyber threat landscape across North America, South America, Europe, APAC, and the Middle East
Why are attacks on smart factories rising?
Cyber risk predictions
Axis of attacks – Europe
Systemic attacks in the Middle East
Download the full report from here:
https://sectrio.com/resources/ot-threat-landscape-reports/sectrio-releases-ot-ics-and-iot-security-threat-landscape-report-2024/
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualityInflectra
In this insightful webinar, Inflectra explores how artificial intelligence (AI) is transforming software development and testing. Discover how AI-powered tools are revolutionizing every stage of the software development lifecycle (SDLC), from design and prototyping to testing, deployment, and monitoring.
Learn about:
• The Future of Testing: How AI is shifting testing towards verification, analysis, and higher-level skills, while reducing repetitive tasks.
• Test Automation: How AI-powered test case generation, optimization, and self-healing tests are making testing more efficient and effective.
• Visual Testing: Explore the emerging capabilities of AI in visual testing and how it's set to revolutionize UI verification.
• Inflectra's AI Solutions: See demonstrations of Inflectra's cutting-edge AI tools like the ChatGPT plugin and Azure Open AI platform, designed to streamline your testing process.
Whether you're a developer, tester, or QA professional, this webinar will give you valuable insights into how AI is shaping the future of software delivery.
UiPath Test Automation using UiPath Test Suite series, part 3DianaGray10
Welcome to UiPath Test Automation using UiPath Test Suite series part 3. In this session, we will cover desktop automation along with UI automation.
Topics covered:
UI automation Introduction,
UI automation Sample
Desktop automation flow
Pradeep Chinnala, Senior Consultant Automation Developer @WonderBotz and UiPath MVP
Deepak Rai, Automation Practice Lead, Boundaryless Group and UiPath MVP
Let's dive deeper into the world of ODC! Ricardo Alves (OutSystems) will join us to tell all about the new Data Fabric. After that, Sezen de Bruijn (OutSystems) will get into the details on how to best design a sturdy architecture within ODC.
3. Today we’re going to learn about how
Microservices enable development and management
flexibility
Service Fabric is the platform for building applications with
a microservices design approach
Service Fabric is battle tested and provides a rich platform
for both development and management of services at
scale
4.
5. 1 Trillion
Messages delivered every
month with Event Hubs
100,000
New Azure customer
subscriptions/month
20Million
SQL database hours
used every day
>5Trillion
Storage transactions
every month
60Billion
Hits to Websites run on
Azure Web App Service
425Million
Azure Active
Directory Users
Azure Momentum
57%
Of Fortune 500 Companies
use Microsoft Azure
>50Trillion
Storage objects
in Azure
1.4 Million
SQL Databases Deployed
In Azure
“Microsoft is
growing its cloud
revenue faster than
Amazon” – Business
Insider 2016
AWS revenue grew about
69% but Microsoft Azure
revenue grew by 127%
8. • Scales by cloning the app on multiple
servers/VMs/Containers
Monolithic application approach Microservices application approach
• A microservice application
separates functionality into
separate smaller services.
• Scales out by deploying each service
independently creating instances of these services
across servers/VMs/containers
• A monolith app contains domain
specific functionality and is
normally divided by functional
layers such as web, business and
data
App 1 App 2App 1
9. • Single monolithic database
• Tiers of specific technologies
State in Monolithic approach State in Microservices approach
• Graph of interconnected microservices
• State typically scoped to the microservice
• Variety of technologies used
• Remote Storage for cold data
stateless services with
separate stores
stateful
services
stateless
presentation
services
stateless
services
10. Plan
1 Monitor + Learn
ReleaseDevelop + Test
2
Development Production
4
3
15. Next generation of PaaS on Azure
Elastic scale, OS updates, SF updates
Microservices platform for Windows and Linux
DevOps, rolling upgrades, etc.
Polycloud including on-premises
Programming models
Stateless Win32 apps written in any language (some feature not supported)
Reliable Services: Stateless & stateful (for hot data; gives low-latency reads)
OWIN/ASP.NET Core*
Service Fabric is free of charge
SDK: http://aka.ms/ServiceFabricSDK
Service Fabric is
16. • 1 role instance per VM
• Uneven utilization
• Low density
• Slow deployment & upgrade (bound to VM)
• Slow scaling and failure recovery
• Limited fault tolerance
• Many microservices per VM
• Even Utilization (by default, customizable)
• High density (customizable)
• Fast deployment & upgrade
• Fast scaling of independent microservices
• Tunable fast fault tolerance
Cloud Services vs Service Fabric
Azure Cloud Services
(Web & Worker Roles)
Azure Service Fabric
(Services)
17. Microsoft Azure Service Fabric
A platform for reliable, hyperscale, microservice-based applications
Azure
Windows
Server
Linux
Hosted Clouds
Windows
Server
Linux
Service Fabric
Private Clouds
Windows
Server
Linux
High Availability
Hyper-Scale
Hybrid Operations
High Density
microservices
Rolling Upgrades
Stateful services
Low Latency
Fast startup &
shutdown
Container Orchestration
& lifecycle management
Replication &
Failover
Simple
programming
models
Load balancing
Self-healingData Partitioning
Automated Rollback
Health
Monitoring
Placement
Constraints
18. Service Fabric Subsystems
Service discovery Reliability, Availability,
Replication, Service
Orchestration
Application lifecycle
Fault Inject,
Test in production
Federates a set of nodes to form a consistent scalable fabric
Secure point-to-point communication
Deployment,
Upgrade and
Monitoring
microservices
19. Windows OS
Windows OS Windows OS
Windows OS
Windows OS
Windows OS
Fabric
Node
Fabric
Node
Fabric
Node
Fabric
Node
Fabric
Node
Fabric
Node
Set of OS instances (real or virtual) stitched together to form a pool of resources
Cluster can scale to 1000s of machines, is self repairing, and scales-up or down
Acts as environment-independent abstraction layer
Cluster
20. Datacenter (Azure, On Premises, Other Clouds )
Load
Balancer
PC/VM #1
Service Fabric
Your code, etc.
PC/VM #2
Service Fabric
Your code, etc. PC/VM #3
Service Fabric
Your code, etc.
PC/VM #4
Service Fabric
Your code, etc.
PC/VM #5
Service Fabric
Your code, etc.
Management to deploy
your code, etc.
(Port: 19080)
App Web Request
(Port: 80/443/?)
21. Cluster Manager (ports 19080 [REST] & 19000 [TCP])
Performs cluster REST & PowerShell/FabricClient operations
Failover Manager
Rebalances resources as nodes come/go
Naming
Maps service instances to endpoints
Image store (not on OneBox)
Contains your Application packages
Upgrade Service (Azure only)
Coordinates upgrading SF itself with Azure’s SFRP
Service Fabric’s Infrastructure Services
Node #1
F
Node #2
C N I
Node #3
C F
Node #4
N I
Node #5
C
I
F
N
U
U
U
N F U
IC
24. Guest Executables
• Bring any exe
• Any language
• Any programming model
• Packaged as Application
• Gets versioning, upgrade,
monitoring, health, etc.
Reliable Services
• Stateless & stateful services
• Concurrent, granular state
changes
• Use of the Reliable
Collections
• Transactions across
collections
• Full platform integration
Reliable Actors
• Stateless & stateful actor
objects
• Simplified programming
model
• Single Threaded model
• Great for scaled out compute
and state
25. • Reliable collections make it easy to build stateful services
• An evolution of .NET collections - for the cloud
• ReliableDictionary<T1,T2> and ReliableQueue<T>
Programming models: Reliable Services
Collections
• Single machine
• Single-threaded
Concurrent Collections
• Single machine
• Multi-threaded
Reliable Collections
• Multi-machine
• Replicated (HA)
• Persistence (durable)
• Asynchronous
• Transactional
27. protected override async Task RunAsync(CancellationToken cancellationToke)
{
var requestQueue = await this.StateManager.GetOrAddAsync<IReliableQueue<CustomerRecord>>(“requests");
var locationDictionary = await this.StateManager.GetOrAddAsync<IReliableDictionary<Guid, LocationInfo>>(“locs");
var personDictionary = await this.StateManager.GetOrAddAsync<IReliableDictionary<Guid, Person>>(“ppl");
var customerListDictionary = await this.StateManager.GetOrAddAsync<IReliableDictionary<Guid, object>>(“customers");
while (true)
{
cancellationToke.ThrowIfCancellationRequested();
Guid customerId = Guid.NewGuid();
using (var tx = this.StateManager.CreateTransaction())
{
var customerRequestResult = await requestQueue.TryDequeueAsync(tx);
await customerListDictionary.AddAsync(tx, customerId, new object());
await personDictionary.AddAsync(tx, customerId, customerRequestResult.Value.person);
await locationDictionary.AddAsync(tx, customerId, customerRequestResult.Value.locInfo);
await tx.CommitAsync();
}
}
}
Everything
happens or
nothing
happens!
28. Programming models: Reliable Actors
• Independent units of compute and state
• Large number of them executing in parallel
• Communicates using asynchronous messaging
• Single threaded execution
• Automatically created and dehydrated as necessary
29. Reliable Actors APIs Reliable Services APIs
Your problem space involves many small independent
units of state and logic
You need to maintain logic across multiple components
You want to work with single-threaded objects while still
being able to scale and maintain consistency
You want to use reliable collections (like .NET Dictionary
and Queue) to store and manage your state
You want the framework to manage the concurrency and
granularity of state
You want to control the granularity and concurrency of
your state
You want the platform to manage communication for
you
You want to manage the communication and control the
partitioning scheme for your service
Comparing Reliable Actors & Reliable Service
37. Cluster
Management, Billing (VMs), Geolocation, Multitenancy
1+ Named Applications
Isolation, Multitenancy, Unit of versioning/config
1+ Named Services
Code package(s), Multitenancy (w/o isolation)
Stateless: 1 Partition
No value
1+ Instances
Scale, Availability
Stateful: 1+ Partitions
Addressability, Scale
1+ Replicas
Availability
• You can dynamically start/remove named
apps/services and instances; not partitions.
• The # instances is set per named service;
all partitions have the same # of instances
38.
Node #1
Node #2
Node #3
Node #4
Node #5
f:/A1/S1, P1, I1
f:/A1/S2, P1, I1
f:/A1/S1, P1, I2
f:/A1/S1, P1, I3
f:/A1/S2, P1, I2
f:/A1/S2, P2, I2
f:/A1/S2, P2, I1
App
Name
Service
Type
Service
Name
#
Partitions
#
Instances
fabric:/A1 “S” fabric:/A1/S1 1 3
fabric:/A1 “S” fabric:/A1/S2 2 2
App Type App Version App Name
“A” 1.0 fabric:/A1
NOTE: When using SF programming models, instances
from same named app/service are in the same process
45. Node 5Node 4Node 3 Node 6Node 2Node 1
P2
S
S
S
P4
S
P1
S
P3S
S
S
• Services can be partitioned for scale-out.
• You can choose your own partitioning scheme.
• Service partitions are striped across machines in the cluster.
• Replicas automatically scale out & in on cluster changes
46. Performance and stress response
• Rich built-in metrics for Actors and Services programming models
• Easy to add custom application performance metrics
Health status monitoring
• Built-in health status for cluster and services
• Flexible and extensible health store for custom app health reporting
• Allows continuous monitoring for real-time alerting on problems in production
47. • Repair suggestions. Examples: Slow RunAsync cancellations, RunAsync failures
• All important events logged. Examples: App creation, deploy and upgrade records. All Actor method
calls.
Detailed
System
Optics
• ETW == Fast Industry Standard Logging Technology
• Works across environments. Same tracing code runs on devbox and also on production clusters on
Azure.
• Easy to add and system appends all the needed metadata such as node, app, service, and partition.
Custom
Application
Tracing
• Visual Studio Diagnostics Events Viewer
• Windows Event Viewer
• Windows Azure Diagnostics + Operational Insights
• Easy to plug in your preferred tools: Kibana, Elasticsearch and more
Choice of
Tools
58. Health Policies
MaxPercentUnhealthyServices, MaxPercentUnhelathyDeployedApplications, ConsiderWarningsasError
UpgradeTimeout
If an entire upgrade hits this timeout, the upgrade is failed.
Upgrade DomainTimeout
If upgrading a UD hits this timeout, the upgrade is failed.
HealthCheckWaitDuration
After an UD is upgraded, wait for this time before checking health of nodes in that UD.
HealthCheckStableDuration
Even if the last health check passed, keep checking the health for this duration to ensure the upgrade is stable. If stable, upgrade the next UD.
UpgradeHealthCheckInterval
Keep checking health periodically with this interval until HealthCheckStableDuration is hit.
HealthCheckRetryTimeout
Once this time out is hit, stop checking health and fail the upgrade.
Health Policies & Timeouts
66.
Mandatory Data Description
Entity Cluster, Node, App, Service, Partition, Replica, Deployed App, Deployed Service Pkg
SourceId String uniquely identifies reporter
Property Category (ex: “Storage” or “Connectivity”)
HealthState Ok, Warning, Error
Optional Data Default Description
Description “” Human readable info
TimeToLive Infinite # seconds before report is expired
RemoveWhenExpired False Useful if TTL != Infinite. If false, report’s entity is in Error; else report
removed after expiration.
SequenceNumber Auto-
generated
Increasing integer. Use to replace old reports when reporting state
transitions.
67.
Property Description
HealthInformation The original health report
SourceUtcTimetamp The time the health report was originally submitted
LastModifiedUtcTimestamp The last time the report was modified
IsExpired True if TTL expired and RemoveWhenExpired=false
LastOkTransitionAt
LastWarningTransitionAt
LastErrorTransitionAt
These give a history of the event’s health states.
Ex: Alert if !Ok > 5 minutes
76. Two main test scenarios provided out of the box
Chaos tests
Failover tests
Tools
C# APIs (System.Fabric.Testability.dll)
PowerShell commandlets (runtime required)
Testability in Service Fabric
77. Generates faults across the entire Service Fabric
cluster
Compresses faults generally seen in months or years
to a few hours
Combination of interleaved faults with the high fault
rate finds corner cases that are otherwise missed
Leads to a significant improvement in the code
quality of the service
What do we get from this Testability
78. Actions Description Managed API Powershell Cmdlet
Graceful/
UnGraceful
Faults
CleanTestState
Removes all the test state from the cluster in case of a bad
shutdown of the test driver.
CleanTestStateAsync Remove-ServiceFabricTestState Not Applicable
InvokeDataLoss Induces data loss into a service partition. InvokeDataLossAsync Invoke-ServiceFabricPartitionDataLoss Graceful
InvokeQuorumLoss Puts a given stateful service partition in to quorum loss. InvokeQuorumLossAsync Invoke-ServiceFabricQuorumLoss Graceful
Move Primary
Moves the specified primary replica of stateful service to the
specified cluster node.
MovePrimaryAsync Move-ServiceFabricPrimaryReplica Graceful
Move Secondary
Moves the current secondary replica of a stateful service to a
different cluster node.
MoveSecondaryAsync Move-ServiceFabricSecondaryReplica Graceful
RemoveReplica
Simulates a replica failure by removing a replica from a cluster. This
will close the replica and will transition it to role 'None', removing
all of its state from the cluster.
RemoveReplicaAsync Remove-ServiceFabricReplica Graceful
RestartDeployedCodeP
ackage
Simulates a code package process failure by restarting a code
package deployed on a node in a cluster. This aborts the code
package process which will restart all the user service replicas
hosted in that process.
RestartDeployedCodePac
kageAsync
Restart-
ServiceFabricDeployedCodePackage
Ungraceful
RestartNode Simulates a Service Fabric cluster node failure by restarting a node. RestartNodeAsync Restart-ServiceFabricNode Ungraceful
RestartPartition
Simulates a data center blackout or cluster blackout scenario by
restarting some or all replicas of a partition.
RestartPartitionAsync Restart-ServiceFabricPartition Graceful
RestartReplica
Simulates a replica failure by restarting a persisted replica in a
cluster, closing the replica and then reopening it.
RestartReplicaAsync Restart-ServiceFabricReplica Graceful
StartNode Starts a node in a cluster which is already stopped. StartNodeAsync Start-ServiceFabricNode Not Applicable
StopNode
Simulates a node failure by stopping a node in a cluster. The node
will stay down until StartNode is called.
StopNodeAsync Stop-ServiceFabricNode Ungraceful
ValidateApplication
Validates the availability and health of all Service Fabric services
within an application, usually after inducing some fault into the
system.
ValidateApplicationAsync Test-ServiceFabricApplication Not Applicable
ValidateService
Validates the availability and health of a Service Fabric service,
usually after inducing some fault into the system.
ValidateServiceAsync Test-ServiceFabricService Not Applicable
Testability Actions
82. 1. Put new code in code
package
2. Update ver strings
(#s are not required)
3. Copy new app package
to image store
4. Register new app type/
version
5. Select named app(s) to
upgrade to new version
Updating Your App’s Service’s Code
<ServiceManifest Name="WebServer" Version="2.0">
<ServiceTypes>
<StatelessServiceType ServiceTypeName="WebServer" ...>
<Extensions> ... </Extensions>
</StatelessServiceType>
</ServiceTypes>
<CodePackage Name="CodePkg" Version="1.1">
<EntryPoint> ... </EntryPoint>
</CodePackage>
<Resources><Endpoints> ... </Endpoints></Resources>
</ServiceManifest>
<ApplicationManifest ApplicationTypeName="DemoAppType"
ApplicationTypeVersion="3.0" ...>
<ServiceManifestImport>
<ServiceManifestRef ServiceManifestName="WebServer"
ServiceManifestVersion="2.0" .../>
</ServiceManifestImport>
</ApplicationManifest>
A
B1
C
B2
83. Prevent complete service outage while upgrading
More UDs less loss of scale but more time to upgrade
# UD set when cluster created via cluster manifest; ARM template
Default=5; 20% down at a time
IMPORTANT: 2 versions of your code run side-by-side simultaneously
Beware of data/schema/protocol changes; use 2-phase upgrade
Below shows 9 nodes spread across 5 UDs
Upgrade Domains
UD #1 UD #2 UD #3 UD #4 Node #5
Node-1
Node-8
Node-2 Node-3 Node-4 Node-5
Node-9Node-6 Node-7
85. Start-ServiceFabricApplicationUpgrade
Parameter Default Description
ApplicationName N/A Application Instance name
TargetApplicationTypeVersion N/A The version string you want to upgrade to
FailureAction N/A Rollback (to last version) or
Manual (stop upgrade & switch to manual)
UpgradeDomainTimeoutSec Infinite If any UD takes more than this time, FailureAction
UpgradeTimeout Infinite If all UDs take more than this time, FailureAction
HealthCheckWaitDurationSec 0 After UD, SF waits this long before initiating health check
UpgradeHealthCheckInterval 60 If health check fails, SF waits this long before checking
again
(set in cluster manifest; not PowerShell)
HealthCheckRetryTimeoutSec 600 Maximum time SF waits for app to be healthy
HealthCheckStableDurationSec 0 How long app must be healthy before upgrading next UD
86. Optional Health Criteria Policies
Parameter Default Description
ConsiderWarningAsError False Warning health events are considered errors
stopping the upgrade
MaxPercentUnhealthyDeployedApplications 0 TODO: Max unhealthy before app is declared
unhealthy
MaxPercentUnhealthyServices 0 Max service instances unhealthy before app is
declared unhealthy
MaxPercentUnhealthyPartitionsPerService 0 Max partitions unhealthy before service instance is
declared unhealthy
MaxPercentUnhealthyReplicasPerPartition 0 Max partition replicas unhealthy before partition is
declared unhealthy
UpgradeReplicaSetCheckTimeout Infinite
900 (rollback)
Stateless: How long SF waits for target instances
before next UD
Stateful: How long SF waits for quorum before next
UD
ForceRestart False Forces service restart when updating config/data
87. Get progress via Get-ServiceFabricApplicationUpgrade
Most problems are timing related
Instances/replicas not going down quickly
UDs not coming up in time
Failing health checks
If FailureAction is “Manual”, you can:
Optional: After all named apps upgrade,
unregister old app type
Managing Named Application Upgrades
Action PowerShell Command
Rollback Start-ServiceFabricApplicationRollback
Start next UD Resume-ServiceFabricApplicationUpgrade
Resume monitored upgrade Update-ServiceFabricApplicationUpgrade
88. Windows OS
Windows OS Windows OS
Windows OS
Windows OS
Windows OS
Fabric
Node
Fabric
Node
Fabric
Node
Fabric
Node
Fabric
Node
Fabric
Node
App B v2
App B v2
App B v2
App A v1
App A v1
App A v1
App C v1
App C v1
App C v1
App Repository
App A v1
App C v1
App B v2
App C v2
App C v2
App C v2
App C v2
90. Updates Since //Build 2015
Now Globaly Available
Create Clusters via ARM & Portal
Hosted Clusters in Azure
Many Performance, Density, & Scale Improvements
Many API Improvements
New Previews
Linux Support
Java Support
Docker & Windows Containers
On Premises Clusters