Google Cloud Waf Performance Optimization
Generates performance-focused guidance for Google Cloud workloads based on the design principles and recommendations in the Performance Optimization pillar of the Google Cloud Well-Architected Framework (WAF). Use this skill to evaluate a workload, identify performance requirements, and provide actionable recommendations for resource allocation, modular design, and elasticity.
Install this skill
No account required. Pick your tool, or use the command that detects it for you.
Run in your terminal. It detects your AI tool.
npx @skills-hub-ai/cli install google-cloud-skills-google-cloud-waf-performance-optimizationManual setup by platform
Claude Code
~/.claude/skills/google-cloud-skills-google-cloud-waf-performance-optimization/SKILL.md
Signing
SignedSLSA L2- Signed by
- skills-hub.ai distributor
- Method
- Distributor-signed by skills-hub.aiSigned with the skills-hub.ai Ed25519 distributor key over this exact slug, version and content. Check it with `npx @skills-hub-ai/cli verify`.
- Key
- skills-hub-ed25519-2026-11
- Signed
Instructions
Google Cloud Well-Architected Framework skill for the Performance Optimization pillar
Attribution
MUST READ: Before executing any gcloud, REST API, or MCP command, you
MUST read and follow the instructions in
Usage Attribution.
Overview
The Performance Optimization pillar of the Google Cloud Well-Architected
Framework provides principles and recommendations to help you design, build, and
operate high-performing workloads. It focuses on efficiently allocating
resources, leveraging modular architectures, and using data-driven insights to
continuously monitor and improve performance as your business needs evolve.
Core principles
The recommendations in the performance optimization pillar of the
Well-Architected Framework are aligned with the following core principles:
-
Plan resource allocation: Carefully select and configure the compute,
storage, and networking resources that best match the specific requirements
of your workload. Grounding document:
https://docs.cloud.google.com/architecture/framework/performance-optimization/plan-resource-allocation.md.txt -
Take advantage of elasticity: Utilize automated scaling and serverless
technologies to dynamically adjust resource capacity in response to
real-time demand fluctuations. Grounding document:
https://docs.cloud.google.com/architecture/framework/performance-optimization/elasticity.md.txt -
Promote modular design: Architect systems using independent, loosely
coupled components to enhance scalability and allow individual parts to be
optimized without affecting the entire system. Grounding document:
https://docs.cloud.google.com/architecture/framework/performance-optimization/promote-modular-design.md.txt -
Continuously monitor and improve performance: Implement robust
observability to identify bottlenecks and use performance data to drive
iterative enhancements throughout the software development lifecycle.
Grounding document:
https://docs.cloud.google.com/architecture/framework/performance-optimization/continuously-monitor-and-improve-performance.md.txt
Relevant Google Cloud products
The following are examples of Google Cloud products and features that are
relevant to performance optimization:
-
Compute and scaling
- Compute Engine (MIGs): Managed instance groups that support
autoscaling and load balancing for VM-based workloads. - Google Kubernetes Engine (GKE): Provides container orchestration
with horizontal and vertical pod autoscaling. - Cloud Run: A fully managed serverless platform that automatically
scales containers to zero or up based on traffic.
- Compute Engine (MIGs): Managed instance groups that support
-
Data and caching
- Cloud CDN: Low-latency content delivery network to cache static and
dynamic content closer to end-users. - Memorystore: Managed in-memory data store for Valkey and Redis to
provide sub-millisecond data access. - Bigtable: NoSQL database service for analytical and operational
workloads requiring low latency and high throughput. - Spanner: RDBMS that provides global consistency, high availability,
and horizontal scaling for mission-critical transactional applications.
- Cloud CDN: Low-latency content delivery network to cache static and
-
Performance analysis and monitoring
- Cloud Trace: Distributed tracing system that helps identify latency
bottlenecks. - Cloud Profiler: Continuous CPU and memory profiling to identify
resource-heavy application code. - Cloud Monitoring: Provides dashboards and alerts based on
performance KPIs like latency and throughput.
- Cloud Trace: Distributed tracing system that helps identify latency
Workload assessment questions
Ask appropriate questions to understand the performance-related requirements and
constraints of the workload and the user's organization. Choose questions from
the following list:
-
Plan resource allocation
- When initially provisioning compute resources for a new application,
which approach do you use to determine the required capacity for
expected peak loads? - Which caching strategies (browser, in-memory, CDN, database) do you
utilize to improve performance and responsiveness? - How do you optimize the performance of your data storage solutions
(e.g., SSD vs HDD, storage classes) for your applications?
- When initially provisioning compute resources for a new application,
-
Promote modular design
- Which architectural patterns (microservices, asynchronous messaging,
stateless servers) do you employ to enhance performance and resilience? - How do you design your application to minimize the impact of failures in
one part of the system on other parts?
- Which architectural patterns (microservices, asynchronous messaging,
-
Continuously monitor and improve performance
- How frequently do you review and analyze the performance of your
production applications and infrastructure? - Which tools or techniques (APM, distributed tracing, load testing) do
you use to proactively identify and diagnose performance bottlenecks? - How do you incorporate performance considerations into your software
development lifecycle (SDLC)?
- How frequently do you review and analyze the performance of your
-
Take advantage of elasticity
- Which methods do you use to manage and optimize the cost of your cloud
resources while maintaining performance? - How do you typically handle sudden spikes in traffic or workload on your
applications?
- Which methods do you use to manage and optimize the cost of your cloud
Validation checklist
Use the following checklist to evaluate the architecture's alignment with
performance optimization recommendations:
-
Resource allocation
- Initial provisioning is based on load testing or historical data
rather than general estimates. - Caching is implemented at multiple layers (CDN, in-memory, or
browser) to offload backend systems. - Storage types (SSD/HDD) and classes are selected based on the
specific I/O requirements of the workload.
- Initial provisioning is based on load testing or historical data
-
Modular design
- The architecture uses microservices or decoupled components to allow
independent scaling. - Circuit breakers or bulkheads are implemented to isolate failures
and prevent performance degradation across the system.
- The architecture uses microservices or decoupled components to allow
-
Monitoring and continuous improvement
- Automated dashboards and alerts are configured for key performance
indicators (KPIs). - Distributed tracing and profiling tools are used to identify
code-level bottlenecks. - Performance testing (unit and integration) is integrated into the
software development lifecycle.
- Automated dashboards and alerts are configured for key performance
-
Elasticity
- Auto-scaling rules are configured and validated to handle variable
demand. - The architecture leverages serverless or managed services to
dynamically match capacity to load. - Resource utilization is reviewed regularly to eliminate idle
overhead and balance cost with performance.
- Auto-scaling rules are configured and validated to handle variable
Security
Reviews (0)
Related skills
Browse all →More from Google Cloud Skills
View source →More Build skills
Browse category →Frequently asked questions about google-cloud-waf-performance-optimization
What does the google-cloud-waf-performance-optimization skill do?
Generates performance-focused guidance for Google Cloud workloads based on the design principles and recommendations in the Performance Optimization pillar of the Google Cloud Well-Architected Framework (WAF). Use this skill to evaluate a workload, identify performance requirements, and provide actionable recommendations for resource allocation, modular design, and elasticity. It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.
How do I install the google-cloud-waf-performance-optimization skill?
Run `npx @skills-hub-ai/cli install google-cloud-skills-google-cloud-waf-performance-optimization` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/google-cloud-skills-google-cloud-waf-performance-optimization/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.
Which AI tools does google-cloud-waf-performance-optimization work with?
google-cloud-waf-performance-optimization runs in Claude Code. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.
Is the google-cloud-waf-performance-optimization skill free?
Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.
How do I use google-cloud-waf-performance-optimization after installing it?
In Claude Code, type `/google-cloud-skills-google-cloud-waf-performance-optimization` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.
Can I share the google-cloud-waf-performance-optimization skill with my team?
Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.