The story of an IoT solution 5/26/2018 11:17 PM THR3068 The story of an IoT solution Radu Vunvulea Senior Architect, Endava @Radu Vunvulea © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
How the story began During a coffee break 5/26/2018 11:17 PM How the story began During a coffee break A brainstorming to look for Azure opportunities. An agnostic transport platform Connect different types of systems to a central unit, offering a secure bidirectional communication channel. Business opportunity Discovered multiple industries where there was a need. © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
Agenda V0.1 V0.2 V0.3 V0.4 V0.5 V0.6 Azure queue Azure Storage Service Bus Topic Azure Storage ISS Azure Inteligent System Service Event Hub Azure Table REST API Azure IoT Hub Azure Blob Event Hub Azure Table Azure Blob Architecture Concept Iterations
V0.1 A lot of ideas, trying to identify business scenarios 5/26/2018 11:17 PM V0.1 A lot of ideas, trying to identify business scenarios Business Applications The things Service Bus Topic Worker Roles Service Bus Topic Azure Queue Service Bus Topic Azure Blob Azure SQL Service Bus Topic © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
V0.2 A lot of ideas, trying to identify business scenarios 5/26/2018 11:17 PM V0.2 A lot of ideas, trying to identify business scenarios Business Applications The things Service Bus Topic Worker Roles Service Bus Topic Service Bus Topic Service Bus Topic Azure Blob Azure SQL Service Bus Topic © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
V0.3 A new communication system 5/26/2018 11:17 PM V0.3 A new communication system Business Applications The things Service Bus Topic Worker Roles Service Bus Topic Azure ISS Service Bus Topic Azure Blob Azure SQL Azure IIS © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
V0.4a API decoupling using REST API 5/26/2018 11:17 PM V0.4a API decoupling using REST API Business Applications The things Service Bus Topic Worker Roles Redis Cache App Service Service Bus Topic Azure Blob Azure Event Hub App Service © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
V0.4b API decoupling using REST API 5/26/2018 11:17 PM V0.4b API decoupling using REST API Business Applications The things Service Bus Topic Worker Roles Azure Tables App Service Service Bus Topic Azure Blob Azure Event Hub App Service © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
Moment of truth Load Tests 5/26/2018 11:17 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
Load Tests Stress cases were fully run for two weeks 5/26/2018 11:17 PM Load Tests Stress cases were fully run for two weeks Amazon EC2: Landscape Device landscape replicated in Amazon. Tunning the system in the first week. Azure: Transport platform © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
V0.4c Speed and simplicity 5/26/2018 11:17 PM V0.4c Speed and simplicity Business Applications The things Service Bus Topic Worker Roles Service Bus Topic Azure Tables Service Bus Topic Azure Blob Azure SQL Azure Event Hub © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
Tweak the engine Disabled logs Multiple Event Hubs In some components more than 90% of latency was caused by logs. Multiple Event Hubs Use a dedicated Event Hub for heartbeats. Direct access to Azure Tables Using HAProxy only for special devices. Real-time Reality has different meaning at different business levels.
60 seconds glance 13.500 files uploading 6.700 new device registered 5/26/2018 11:17 PM 60 seconds glance 13.500 files uploading 6.700 new device registered 357.000 commands processing 1.800.000 heartbeats ingesting © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
Architecture Concepts Scaling Unit Scalability, Availability, Reliability, Self-sustainability Pluggable Failover, Simplicity, Integrity Active-Active/Passive Communication Redundancy, Reliability
V0.5 Connect assets using Azure IoT Hub 5/26/2018 11:17 PM V0.5 Connect assets using Azure IoT Hub Business Applications The things Service Bus Topic Worker Roles Service Bus Topic Azure IoT Hub Service Bus Topic Azure Blob Azure SQL Azure Blob © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
V0.6 High number of messages on both directions 5/26/2018 11:17 PM V0.6 High number of messages on both directions Business Applications The things Service Bus Topic Service Fabric Service Bus Topic Azure Tables Service Bus Topic Azure Blob Azure SQL Azure Event Hub © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
Solution Overview Communication Azure Event Hub Azure Table App Service HAProxy Compute Service Fabric Virtual Machines Storage Azure Blob Azure Data Lake Azure Cool Blob Azure SQL Azure Cosmos DB Data Crunching Azure Data Lake HDInsight PowerBI Monitoring Azure Monitor Azure Diagnostic Azure Log Custom tool
5/26/2018 11:17 PM Final thoughts © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
Final thoughts Open to new technologies Decouple and Isolate Investigate and validate. Decouple and Isolate Change is a reality, be prepared for it. Simplicity Clean and clear.
5/26/2018 11:17 PM Q&A © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
Please evaluate this session Tech Ready 15 5/26/2018 Please evaluate this session From your Please expand notes window at bottom of slide and read. Then Delete this text box. PC or tablet: visit MyIgnite https://myignite.microsoft.com/evaluations Phone: download and use the Microsoft Ignite mobile app https://aka.ms/ignite.mobileapp Your input is important! © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
5/26/2018 11:17 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
V0.1 A lot of ideas, trying to identify business scenarios 5/26/2018 11:17 PM V0.1 A lot of ideas, trying to identify business scenarios Business Applications The things Service Bus Topic Worker Roles Service Bus Topic Azure Queue Service Bus Topic Azure Blob Azure SQL Service Bus Topic © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
V0.2 A lot of ideas, trying to identify business scenarios 5/26/2018 11:17 PM V0.2 A lot of ideas, trying to identify business scenarios Business Applications The things Service Bus Topic Worker Roles Service Bus Topic Service Bus Topic Service Bus Topic Azure Blob Azure SQL Service Bus Topic © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.