google-cloud-waf-performance-optimization
它能做什么
这个技能帮你让 Google Cloud 系统更快,并使其规模与负载相匹配。它适用于希望工作负载在需求变化时保持良好性能的架构师和开发者。
适用场景
- ✓当你想评估 Google Cloud 工作负载的性能并找出瓶颈的时候。
- ✓当你需要为工作负载选择计算、存储和网络资源的建议的时候。
- ✓当你想设计弹性,使系统能良好应对需求变化的时候。
技能链接
https://github.com/google/skills/blob/main/skills/cloud/google-cloud-waf-performance-optimization/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“我的 Google Cloud 应用在高峰期会变慢。请检查它的配置,并建议如何提升性能。”
每周 5 个新技能,1 分钟读完。
工作原理
它会询问你的性能需求,并检查资源分配、模块化设计和扩缩。然后它会根据性能优化支柱给出建议。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
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, as
常见问题
它重点关注成本吗?
不。它重点关注性能,成本由另一个技能负责。
这里的弹性是什么意思?
使用自动化和无服务器扩缩,随需求变化调整容量。
它需要了解我的工作负载细节吗?
需要。在给出建议之前,它会询问有关工作负载的问题。
详情
作者的原始描述
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.
repo: google/skills
热度
- GitHub 星标
- 22k
- 排名
- #10334
- 许可证
- Apache-2.0
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
finding-google-skills
22k帮你的智能体为某项设置任务找到合适的 Google 指南,例如托管、数据库、存储、登录或 AI 模型服务。
gcloud
22k帮你的智能体编写并检查 Google Cloud gcloud 命令,在运行任何内容之前查阅准确的语法,避免猜测参数。
google-cloud-recipe-auth
22k引导你的智能体了解 Google Cloud 的身份与访问管理,包括人员和服务如何登录,以及它们各自获得哪些权限。
google-cloud-recipe-onboarding
22k带领新开发者完成在 Google Cloud 上的第一步,包括选择项目、关联计费,以及部署第一个资源。