Google Cloud Performance Optimization Review

Google Cloud Performance Optimization Review

Evaluates a Google Cloud workload against the Well-Architected performance pillar and recommends resource allocation, modular design and elasticity improvements.

Skill files2 files

references/

SKILL.md157 lines
1
---
2
name: google-cloud-waf-performance-optimization
3
metadata:
4
version: "1.0.1"
5
category: WellArchitectedFramework
6
description: >-
7
Generates performance-focused guidance for Google Cloud workloads based on the
8
design principles and recommendations in the Performance Optimization pillar
9
of the Google Cloud Well-Architected Framework (WAF). Use this skill
10
to evaluate a workload, identify performance requirements, and provide
11
actionable recommendations for resource allocation, modular design, and
12
elasticity.
13
---
14
15
# Google Cloud Well-Architected Framework skill for the Performance Optimization pillar
16
17
## Attribution
18
19
**MUST READ**: Before executing any `gcloud`, REST API, or MCP command, you
20
MUST read and follow the instructions in
21
[Usage Attribution](references/attribution.md).
22
23
## Overview
24
25
The Performance Optimization pillar of the Google Cloud Well-Architected
26
Framework provides principles and recommendations to help you design, build, and
27
operate high-performing workloads. It focuses on efficiently allocating
28
resources, leveraging modular architectures, and using data-driven insights to
29
continuously monitor and improve performance as your business needs evolve.
30
31
## Core principles
32
33
The recommendations in the performance optimization pillar of the
34
Well-Architected Framework are aligned with the following core principles:
35
36
- **Plan resource allocation**: Carefully select and configure the compute,
37
storage, and networking resources that best match the specific requirements
38
of your workload. Grounding document:
39
https://docs.cloud.google.com/architecture/framework/performance-optimization/plan-resource-allocation.md.txt
40
41
- **Take advantage of elasticity**: Utilize automated scaling and serverless
42
technologies to dynamically adjust resource capacity in response to
43
real-time demand fluctuations. Grounding document:
44
https://docs.cloud.google.com/architecture/framework/performance-optimization/elasticity.md.txt
45
46
- **Promote modular design**: Architect systems using independent, loosely
47
coupled components to enhance scalability and allow individual parts to be
48
optimized without affecting the entire system. Grounding document:
49
https://docs.cloud.google.com/architecture/framework/performance-optimization/promote-modular-design.md.txt
50
51
- **Continuously monitor and improve performance**: Implement robust
52
observability to identify bottlenecks and use performance data to drive
53
iterative enhancements throughout the software development lifecycle.
54
Grounding document:
55
https://docs.cloud.google.com/architecture/framework/performance-optimization/continuously-monitor-and-improve-performance.md.txt
56
57
## Relevant Google Cloud products
58
59
The following are _examples_ of Google Cloud products and features that are
60
relevant to performance optimization:
61
62
- **Compute and scaling**
63
- **Compute Engine (MIGs)**: Managed instance groups that support
64
autoscaling and load balancing for VM-based workloads.
65
- **Google Kubernetes Engine (GKE)**: Provides container orchestration
66
with horizontal and vertical pod autoscaling.
67
- **Cloud Run**: A fully managed serverless platform that automatically
68
scales containers to zero or up based on traffic.
69
70
- **Data and caching**
71
- **Cloud CDN**: Low-latency content delivery network to cache static and
72
dynamic content closer to end-users.
73
- **Memorystore**: Managed in-memory data store for Valkey and Redis to
74
provide sub-millisecond data access.
75
- **Bigtable**: NoSQL database service for analytical and operational
76
workloads requiring low latency and high throughput.
77
- **Spanner**: RDBMS that provides global consistency, high availability,
78
and horizontal scaling for mission-critical transactional applications.
79
80
- **Performance analysis and monitoring**
81
- **Cloud Trace**: Distributed tracing system that helps identify latency
82
bottlenecks.
83
- **Cloud Profiler**: Continuous CPU and memory profiling to identify
84
resource-heavy application code.
85
- **Cloud Monitoring**: Provides dashboards and alerts based on
86
performance KPIs like latency and throughput.
87
88
## Workload assessment questions
89
90
Ask appropriate questions to understand the performance-related requirements and
91
constraints of the workload and the user's organization. Choose questions from
92
the following list:
93
94
- **Plan resource allocation**
95
- When initially provisioning compute resources for a new application,
96
which approach do you use to determine the required capacity for
97
expected peak loads?
98
- Which caching strategies (browser, in-memory, CDN, database) do you
99
utilize to improve performance and responsiveness?
100
- How do you optimize the performance of your data storage solutions
101
(e.g., SSD vs HDD, storage classes) for your applications?
102
103
- **Promote modular design**
104
- Which architectural patterns (microservices, asynchronous messaging,
105
stateless servers) do you employ to enhance performance and resilience?
106
- How do you design your application to minimize the impact of failures in
107
one part of the system on other parts?
108
109
- **Continuously monitor and improve performance**
110
- How frequently do you review and analyze the performance of your
111
production applications and infrastructure?
112
- Which tools or techniques (APM, distributed tracing, load testing) do
113
you use to proactively identify and diagnose performance bottlenecks?
114
- How do you incorporate performance considerations into your software
115
development lifecycle (SDLC)?
116
117
- **Take advantage of elasticity**
118
- Which methods do you use to manage and optimize the cost of your cloud
119
resources while maintaining performance?
120
- How do you typically handle sudden spikes in traffic or workload on your
121
applications?
122
123
## Validation checklist
124
125
Use the following checklist to evaluate the architecture's alignment with
126
performance optimization recommendations:
127
128
- **Resource allocation**
129
- [ ] Initial provisioning is based on load testing or historical data
130
rather than general estimates.
131
- [ ] Caching is implemented at multiple layers (CDN, in-memory, or
132
browser) to offload backend systems.
133
- [ ] Storage types (SSD/HDD) and classes are selected based on the
134
specific I/O requirements of the workload.
135
136
- **Modular design**
137
- [ ] The architecture uses microservices or decoupled components to allow
138
independent scaling.
139
- [ ] Circuit breakers or bulkheads are implemented to isolate failures
140
and prevent performance degradation across the system.
141
142
- **Monitoring and continuous improvement**
143
- [ ] Automated dashboards and alerts are configured for key performance
144
indicators (KPIs).
145
- [ ] Distributed tracing and profiling tools are used to identify
146
code-level bottlenecks.
147
- [ ] Performance testing (unit and integration) is integrated into the
148
software development lifecycle.
149
150
- **Elasticity**
151
- [ ] Auto-scaling rules are configured and validated to handle variable
152
demand.
153
- [ ] The architecture leverages serverless or managed services to
154
dynamically match capacity to load.
155
- [ ] Resource utilization is reviewed regularly to eliminate idle
156
overhead and balance cost with performance.
157

© Google LLC · Apache 2.0 · source · posted by @OpenSourceBuffGuy on promptparty.com

@OpenSourceBuffGuy

I find openly licensed prompts and post them here.

0 followers · 14,621 prompts

More by @OpenSourceBuffGuy

See all
Sea turtle carrying floating film studio island prompt image

Sea turtle carrying floating film studio island

Draws a giant sea turtle carrying a floating island film studio through a starry sky, where fairies polish rough film strips into golden film.

image-prompt, nano-banana, 3d-render, cartoon, fantasy-world, creatures, animals, whimsical, dreamy, cinematic, dramatic-lighting, vibrant-colors, bokeh, miniature, widescreen, night-scene, illustration, concept-art, surreal, storytelling, clay-3d

Desert buggy escapes drones past industrial outpost prompt image

Desert buggy escapes drones past industrial outpost

Builds a 15-second desert chase video where a racer in an armored buggy escapes drones past an industrial outpost, using five reference images with set jobs.

video-prompt, hailuo, action, multi-shot, timed-beats, camera-movement, reference-image, character-consistency, negative-prompt, cinematic, sci-fi, cars, landscape, aerial-view, tracking-shot, photorealistic, sound-effects, structured-output, long-form, widescreen

1 view
Cozy Pixel Art Farm Island Village prompt image

Cozy Pixel Art Farm Island Village

Draws a cozy 16-bit pixel-art farming village across six small islands joined by bridges, with exact counts for buildings, animals and crops.

image-prompt, gpt-image, pixel-art, isometric, game-assets, concept-art, maps, worldbuilding, cozy, vibrant-colors, ocean, landscape, wide-shot, widescreen, game-development, video-games, structured-output, whimsical, summer, high-angle, aerial-view, animals, negative-prompt, cityscape

1 view

Reviews

Loading reviews…

Discussion

Loading comments…