google-cloud-waf-performance-optimization
Skill này làm gì
Skill này giúp bạn làm hệ thống Google Cloud nhanh hơn và có kích thước phù hợp với tải của nó. Skill dành cho kiến trúc sư và lập trình viên muốn khối lượng công việc hoạt động tốt khi nhu cầu thay đổi.
Khi nào nên dùng
- ✓Khi bạn muốn đánh giá hiệu năng của một khối lượng công việc Google Cloud và tìm nút thắt cổ chai.
- ✓Khi bạn cần tư vấn chọn tài nguyên tính toán, lưu trữ và mạng cho một khối lượng công việc.
- ✓Khi bạn muốn thiết kế để có tính linh hoạt, giúp hệ thống xử lý tốt nhu cầu thay đổi.
Liên kết skill
https://github.com/google/skills/blob/main/skills/cloud/google-cloud-waf-performance-optimization/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Ứng dụng Google Cloud của tôi chậm vào giờ cao điểm. Xem thiết lập và đề xuất cách cải thiện hiệu năng.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill hỏi về nhu cầu hiệu năng của bạn, rồi rà soát phân bổ tài nguyên, thiết kế mô-đun và mở rộng. Sau đó skill đưa ra khuyến nghị dựa trên trụ cột tối ưu hiệu năng.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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
Câu hỏi thường gặp
Skill có tập trung vào chi phí không?
Không. Skill tập trung vào hiệu năng, còn chi phí do một skill riêng đảm nhiệm.
Tính linh hoạt (elasticity) nghĩa là gì ở đây?
Dùng các cơ chế mở rộng tự động và serverless để điều chỉnh năng lực khi nhu cầu thay đổi.
Skill có cần thông tin về khối lượng công việc của tôi không?
Có. Skill hỏi các câu hỏi về khối lượng công việc trước khi đưa ra khuyến nghị.
Chi tiết
Mô tả gốc của tác giả
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
Độ phổ biến
- Sao GitHub
- 22k
- Vị trí xếp hạng
- #10334
- Giấy phép
- Apache-2.0
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
finding-google-skills
22kGiúp agent của bạn tìm hướng dẫn Google phù hợp cho việc thiết lập, như hosting, cơ sở dữ liệu, lưu trữ, đăng nhập hoặc phục vụ mô hình AI.
gcloud
22kGiúp agent của bạn viết và kiểm tra các lệnh gcloud của Google Cloud, tra cứu cú pháp chính xác trước khi chạy bất cứ thứ gì để không đoán các flag.
google-cloud-recipe-auth
22kHướng dẫn agent của bạn qua quản lý danh tính và quyền truy cập của Google Cloud, gồm cách con người và dịch vụ đăng nhập và những quyền họ nhận được.
google-cloud-recipe-onboarding
22kHướng dẫn một lập trình viên mới qua các bước đầu tiên trên Google Cloud, gồm chọn dự án, liên kết thanh toán và triển khai tài nguyên đầu tiên.
Skill tương tự
api-connector-builder
280kGiúp agent của bạn xây dựng kết nối API mới theo đúng mẫu đã có, dùng khi bạn cần thêm một tích hợp mà không tạo cách làm mới.
api-design
280kGiúp agent của bạn thiết kế REST API theo các thực hành tốt nhất, hữu ích để định nghĩa cách API giao tiếp, hiển thị lỗi và tổ chức dữ liệu.
backend-patterns
280kGiúp agent của bạn với các mẫu kiến trúc phía máy chủ và tối ưu cơ sở dữ liệu, hữu ích khi xây dựng hoặc rà soát code chạy trên máy chủ.