mspnp / cloud-design-patterns

Sample implementations for cloud design patterns found in the Azure Architecture Center.
https://aka.ms/cloud-design-patterns
Other
785 stars 297 forks source link

Add New Resource Conveyor Pattern to Cloud Design Patterns #164

Closed ubiquio closed 2 months ago

ubiquio commented 2 months ago

When filling out the Open Pull Request form, here’s how you should structure the details for your contribution of the Resource Conveyor Pattern:

Title: Add New Resource Conveyor Pattern to Cloud Design Patterns

Description: In the description field, you can summarize your addition and its purpose:

This pull request adds the Resource Conveyor Pattern to the Cloud Design Patterns repository. The Resource Conveyor Pattern is a novel approach for managing the lifecycle of long-running external resources such as browser instances, APIs, or external libraries that degrade over time due to memory leaks or exhaustion.

Key points:

It introduces a rotational queue that manages resources in three stages: Preload, Active, and Offload. Ensures optimal performance by rotating resources, preventing degradation, and self-healing. Includes example code and detailed explanation of how the conveyor rotates resources, ensuring system resilience. Addresses the challenge of preventing system failures due to memory exhaustion by safely evicting and terminating instances. The justification for this pattern is included in a separate document, and all code is aligned with the existing design pattern architecture guidelines.

ubiquio commented 2 months ago

@microsoft-github-policy-service agree company="ubiquio"

ubiquio commented 2 months ago

Dear maintainers, could someone please review my contribution for the Resource Conveyor pattern? All checks have passed, and I'm confident that this pattern can provide a new solution for managing long-running resources in cloud environments.

ubiquio commented 2 months ago

request was sent to wrong repo