Presentation is loading. Please wait.

Presentation is loading. Please wait.

Design pattern for cloud Application

Similar presentations


Presentation on theme: "Design pattern for cloud Application"— Presentation transcript:

1 Design pattern for cloud Application 23.02.2017
Microsoft Connect 2016 12/25/2018 9:33 PM Design pattern for cloud Application Raja Sreenivasan © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

2 Microsoft Connect 2016 12/25/2018 9:33 PM What is design pattern? It’s a General Repeatable Solution to a commonly occurring problem in a Software design. © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

3 Problem areas in the cloud
12/25/2018 9:33 PM Problem areas in the cloud These are eight categories that encompass the most common problem area in cloud application development Availability Data Management Design and Implementation Messaging Management and Monitoring Performance and Scalability Resiliency Security © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

4 12/25/2018 9:33 PM Availability It defines the proportion of time that the system is functional and working. it will be affected by system Errors infrastructure problem malicious attack system load © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

5 Health Endpoint Monitoring Pattern
12/25/2018 9:33 PM Health Endpoint Monitoring Pattern Implement functional checks within an application that external tools can access through exposed endpoints at regular intervals This pattern can help to verify that applications and services are performing correctly © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

6 Health Endpoint Monitoring Pattern
12/25/2018 9:33 PM Health Endpoint Monitoring Pattern Overview of the pattern Implement health monitoring by sending requests to an endpoint on the application. The application should perform the necessary checks, and return an indication of its status. © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

7 Health Endpoint Monitoring Pattern
12/25/2018 9:33 PM Health Endpoint Monitoring Pattern When to use Monitoring websites and web applications to verify availability. Monitoring websites and web applications to check for correct operation. Monitoring middle-tier or shared services to detect and isolate a failure that © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

8 12/25/2018 9:33 PM Data Management Data management is the key element of cloud applications, and influences most of the quality attributes. Data is typically hosted in different locations and across multiple servers for reasons such as Performance scalability availability © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

9 12/25/2018 9:33 PM Cache-Aside Pattern Load data on demand into a cache from a data store. This pattern can improve performance and also helps to maintain consistency between data held in the cache and the data in the underlying data store. © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

10 12/25/2018 9:33 PM Cache-Aside Pattern Many commercial caching systems provide read-through and write-through/write-behind operations. In these systems, an application retrieves data by referencing the cache. If the data is not in the cache, it is transparently retrieved from the data store and added to the cache. Any modifications to data held in the cache are automatically written back to the data store as well. © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

11 Cache-Aside Pattern When to Use this pattern :
12/25/2018 9:33 PM Cache-Aside Pattern When to Use this pattern : A cache does not provide native read-through and write-through operations. Resource demand is unpredictable. This pattern enables applications to load data on demand. It makes no assumptions about which data an application will require in advance. © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

12 Design and Implementation
12/25/2018 9:33 PM Design and Implementation Good design encompasses factors such as consistency and coherence in component design and deployment, maintainability to simplify administration and development, and reusability to allow components and subsystems to be used in other applications and in other scenarios. © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

13 Compute Resource Consolidation Pattern
12/25/2018 9:33 PM Compute Resource Consolidation Pattern Consolidate multiple tasks or operations into a single computational unit. This pattern can increase compute resource utilization, and reduce the costs and management overhead associated with performing compute processing in cloud-hosted applications Figure 1 shows the simplified structure of a cloud-hosted solution that is implemented using more than one computational unit © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

14 Compute Resource Consolidation Pattern
12/25/2018 9:33 PM Compute Resource Consolidation Pattern consolidate multiple tasks or operations into a single computational unit. It will Help to reduce costs, increase utilization, improve communication speed, and ease the management effort . © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

15 12/25/2018 9:33 PM Messaging The distributed nature of cloud applications requires a messaging infrastructure that connects the components and services, in a loosely coupled manner in order to maximize scalability. Asynchronous messaging is widely used, and provides many benefits, but also brings challenges such as the ordering of messages, poison message management, idempotency, and more © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

16 Competing Consumers Pattern
12/25/2018 9:33 PM Competing Consumers Pattern Enable multiple concurrent consumers to process messages received on the same messaging channel. This pattern enables a system to process multiple messages concurrently to optimize throughput, to improve scalability and availability, and to balance the workload. Figure :Using a message queue to distribute work to instances of a service © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

17 Competing Consumers Pattern
12/25/2018 9:33 PM Competing Consumers Pattern Use a message queue to implement the communication channel between the application and the instances of the consumer service. The application posts requests in the form of messages to the queue, and the consumer service instances receive messages from the queue and process them. This approach enables the same pool of consumer service instances to handle messages from any instance of the application. © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.


Download ppt "Design pattern for cloud Application"

Similar presentations


Ads by Google