AWS wellarchitected documentation change
Summary
Added comprehensive reliability definition, metrics, topics list, and common challenges section with mitigations. Modified error management wording from 'prevent' to 'avoid' cascading failures.
Security assessment
Changes focus on system reliability, error handling, and operational best practices without mentioning security controls, vulnerabilities, or protection mechanisms. The mitigations address performance and availability concerns rather than security threats.
Diff
diff --git a/wellarchitected/latest/generative-ai-lens/reliability.md b/wellarchitected/latest/generative-ai-lens/reliability.md index d28f8db0b..c16b025dc 100644 --- a//wellarchitected/latest/generative-ai-lens/reliability.md +++ b//wellarchitected/latest/generative-ai-lens/reliability.md @@ -6,0 +7,17 @@ +Reliability in generative AI workloads refers to the system's ability to consistently perform its intended functions correctly and deliver expected results under both normal and adverse conditions. This includes maintaining consistent model inference quality, handling varying workload demands, managing resource utilization, and recovering from failures gracefully. + +Key reliability metrics for generative AI include: + + * Model inference availability + + * Response time consistency + + * Recovery time objectives (RTO) + + * Recovery point objectives (RPO) + + * Error rates and recovery success rates + + + + @@ -11 +28 @@ The reliability best practices introduced in this paper are represented by at le - * **Implement robust error management:** Monitor generative AI workflows for robustness and completion, and implement automated recovery mechanisms when errors occur. Prevent cascading failures for agent workflows and verify that your system recovers predictably. This allows you to maintain service continuity even when individual components, such as model inference calls or embedding operations, experience issues. + * **Implement robust error management:** Monitor generative AI workflows for robustness and completion and implement automated recovery mechanisms when errors occur. Avoid cascading failures for agent workflows and verify that your system recovers predictably. This allows you to maintain service continuity even when individual components, such as model inference calls or embedding operations, experience issues. @@ -19,0 +37,52 @@ The reliability best practices introduced in this paper are represented by at le +**Topics** + + * [Manage throughput quotas](./genrel01.html): Accomplish optimal resource allocation and avoid system overload by effectively managing and monitoring API request limits and model inference capacities. + + * [Network reliability](./genrel02.html): Establish resilient network connections between model endpoints, supporting infrastructure, and client applications to maintain consistent performance and availability. + + * [Prompt remediation and recovery actions](./genrel03.html): Implement robust error handling, retry mechanisms, and failover strategies to maintain system stability and user experience. + + * [Prompt management](./genrel04.html): Establish version control and change management processes for prompts to create consistency and reliability in model interactions. + + * [Distributed availability](./genrel05.html): Design systems for high availability across multiple regions and availability zones to mitigate the impact of localized failures or outages. + + * [Distributed compute tasks](./genrel06.html): Optimize the execution of resource-intensive operations like model training and large-scale inference across distributed computing resources. + + + + +Common challenges in generative AI reliability include: + + * Inconsistent model performance: + + * **Challenge:** Variations in model outputs for similar inputs, affecting user experience and application reliability. + + * **Mitigation:** Implement robust testing frameworks, version control for models and prompts, and continuous monitoring of model performance metrics. + + * Handling unexpected traffic spikes: + + * **Challenge:** Sudden increases in request volume leading to system overload and degraded performance. + + * **Mitigation:** Use auto-scaling mechanisms, implement rate limiting and throttling, and design for burst capacity. + + * Managing large-scale distributed training: + + * **Challenge:** Coordinating and maintaining reliability across multiple compute nodes during extended training processes. + + * **Mitigation:** Implement checkpointing, use fault-tolerant training frameworks, and design for node failure resilience. + + * Data consistency in multi-Region deployments: + + * **Challenge:** Maintaining consistent and up-to-date data across globally distributed systems. + + * **Mitigation:** Implement robust data replication strategies, use eventual consistency models where appropriate, and design for conflict resolution. + + * Handling model drift and data quality issues: + + * **Challenge:** Degradation of model performance over time due to changes in input data patterns or quality. + + * **Mitigation:** Implement continuous monitoring of model performance, establish regular retraining cycles, and maintain data quality checks in ingestion pipelines. + + + +