google/skills

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).

Voir la source

Mode d’emploi

  1. Copiez la commande et examinez le paquet avant de l’installer dans votre environnement agent.
  2. Consultez le document original pour les outils, identifiants et environnements requis.
  3. Décrivez les entrées et le livrable souhaité ; comparez la sortie aux sources.
npx skills add https://github.com/google/skills --skill google-cloud-waf-performance-optimization

Avant de commencer

  • L’installation n’inclut ni abonnement au modèle, ni quota API, ni accès aux fichiers.
  • Étoiles et installations reflètent l’activité, pas un test indépendant de qualité ou de sécurité.
Document Skill original

Rendu depuis le dépôt source en conservant titres, exemples, code, tableaux, liens et images.

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.

  • 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.

  • 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.

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?

  • 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?

  • 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)?

  • 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?

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.

  • 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.

  • 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.

  • 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.

du même dépôt

Autres Skills

Tous les Skills
google
Communauté

google-cloud-filestore-auditing

Audits Filestore instances on Google Cloud across projects for disaster recovery readiness (missing or stale backups), security access governance (overly permissive NFS export rules, 0.0.0.0/0 exposure, missing ROOTSQUASH), and reliability compliance (Physical Zone Isolation PZI and Physical Zone Separation PZS). Use when assessing storage health posture, auditing NFS export permissions, identifying unprotected file shares, or validating zone failure domains. Don't use for Cloud Storage buckets,

installations
2
GitHub Stars
21,5 k
Mis à jour
23 oct.
google
Communauté

google-cloud-global-frontend-configuration

Guides agents through a 6-step discovery process to design and deploy Google Cloud global external Application Load Balancers with Cloud CDN, Cloud Armor, and Service Extensions, mapping workload requirements to best-practice configurations. Use when: - Designing, configuring, or deploying a Google Cloud global external Application Load Balancer, Cloud CDN, Cloud Armor WAF, or Service Extensions. - Discovering existing Google Cloud resources (Cloud Storage, MIGs, GKE, Cloud Run) to use as backen

installations
2
GitHub Stars
21,5 k
Mis à jour
23 oct.
google
Communauté

google-cloud-recipe-foundation-builder

Deploys a baseline landing zone foundation for a Google Cloud Organization, establishing security guardrails using Organization Policies, resource hierarchy folders and projects, billing association, and centralized logging and monitoring. Deploys Google Cloud's recommended security controls and architecture. Use when setting up a new Google Cloud Organization or establishing a secure, enterprise-grade landing zone foundation. Don't use for individual project onboarding (use google-cloud-recipe-

installations
2
GitHub Stars
21,5 k
Mis à jour
23 oct.
google
Communauté

google-cloud-scc-query

Queries and retrieves active security findings, external exposures, toxic combinations, vulnerabilities, threats, and sensitive data risks from Security Command Center on Google Cloud. Use when retrieving details for a security finding by its name, validating finding scope (e.g., verifying findingClass is TOXICCOMBINATION, VULNERABILITY, EXTERNALEXPOSURE, or THREAT), or fetching finding details for triage. Don't use to draft remediations, apply patches, or execute configurations.

installations
2
GitHub Stars
21,5 k
Mis à jour
23 oct.