Chuyển đến nội dung
Skillpedia
Khác48k · #5236

tech-matrix

Skill này làm gì

Công cụ này giúp chọn công nghệ phù hợp cho các phần khác nhau của một dự án phần mềm, như cơ sở dữ liệu, hệ thống nhắn tin hoặc giao thức API. Nó cung cấp bảng biểu và hướng dẫn để hỗ trợ việc ra quyết định.

Khi nào nên dùng

  • ✓Khi bắt đầu một dự án phần mềm mới và cần chọn công nghệ.
  • ✓Khi đánh giá xem công nghệ hiện tại có còn phù hợp nhất không.
  • ✓Khi so sánh các lựa chọn cơ sở dữ liệu hoặc hệ thống nhắn tin khác nhau.

Liên kết skill

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/monopoly/tech-matrix/SKILL.md

Sao 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

Hãy dùng skill này để giúp tôi: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/monopoly/tech-matrix/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Cơ sở dữ liệu nào phù hợp nhất để lưu dữ liệu vị trí địa lý?”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Công cụ so sánh các công nghệ phổ biến trong các nhóm như cơ sở dữ liệu, bộ nhớ đệm và hàng đợi tin nhắn. Nó cho biết mỗi công nghệ tốt cho việc gì, khi nào nên tránh và giới hạn mở rộng, giúp bạn đưa ra lựa chọn có cơ sở.

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.

MONOPOLY — Technology Decision Matrix

When to Use

  • Use this skill when the task matches this description: Reference document for monopoly tech-matrix.

Table of Contents

  1. Database Selection
  2. Cache Selection
  3. Message Queue / Event Streaming
  4. API Protocol
  5. Search Engine
  6. Object Storage
  7. Container Orchestration
  8. Load Balancer
  9. Observability Stack
  10. CDN

1. Database Selection

Relational (SQL)

Database Best For Avoid When Scale Ceiling
PostgreSQL Complex queries, JSONB, GIS, strong consistency, most default use cases Ultra-high write throughput (>100K writes/s) ~10TB single node; use Citus for horizontal
MySQL / MariaDB Read-heavy apps, legacy systems, WordPress/Drupal ecosystem Complex queries, full ACID at scale ~10TB; use Vitess for sharding
CockroachDB Global distributed SQL, geo-partitioning, multi-region Simple single-region apps (overkill) Petabyte-scale
PlanetScale MySQL-compatible, serverless, branch-based workflow Complex JOINs (foreign keys removed by design) Very high — Vitess based
Amazon Aurora AWS-native apps, managed PostgreSQL/MySQL, high availability Non-AWS environments Up to 128TB, 15 replicas

NoSQL

Database Best For Avoid When Scale Ceiling
MongoDB Flexible schema, document model, prototyping Financial transactions requiring ACID Petabyte-scale with sharding
DynamoDB Key-value at massive scale, AWS-native, serverless, predictable latency Complex queries, ad-hoc analytics, JOINs Unlimited (AWS-managed)
Cassandra Write-heavy, time-series, wide-column, geographically distributed Read-heavy with complex queries Petabyte-scale; used at Apple, Netflix
Redis Cache, sessions, leaderboards, pub/sub, rate limiting Primary data store for complex models ~1TB per node; cluster for more
Elasticsearch Full-text search, log aggregation, analytics Primary database (durability risk) Petabyte-scale with clusters
InfluxDB Time-series metrics, IoT, monitoring data General-purpose data Very high write throughput
Neo4j Graph data, social networks, recommendation engines, fraud detection Non-graph data (overhead not worth it) Billions of nodes

Decision Framework

Is your data relational (joins, foreign keys, transactions)?
  YES → Start with PostgreSQL
  NO  → Continue below

Is your primary access pattern key-value?
  YES, need extreme scale → DynamoDB or Cassandra
  YES, need speed/cache → Redis

Is your data document-shaped (nested, flexible schema)?
  YES → MongoDB

Is it time-series (metrics, logs, IoT)?
  YES → InfluxDB or TimescaleDB

Is it graph (relationships are the data)?
  YES → Neo4j

Is it search?
  YES → Elasticsearch / OpenSearch

2. Cache Selection

Technology Best For Max Single Node Cluster Support
Redis Sessions, leaderboards, pub/sub, complex data structures, Lua scripting ~1TB RAM Yes (Redis Cluster, Redis Sentinel)
Memcached Simple key-value, multi-threaded, large object cache ~64GB RAM Yes (client-side sharding)
Varnish HTTP reverse proxy cache, full-page caching RAM bound Limited
CloudFront / CDN Static assets, edge caching globally N/A (distributed) Built-in global distribution

Default recommendation: Redis — more features, better ecosystem, active development.

Use Memcached only when: you need multi-threading for CPU-bound caching workloads and don't need data structures beyond string.


3. Message Queue / Event Streaming

Technology Model Best For Throughput Retention
Apache Kafka Log-based streaming Event sourcing, high-throughput pipelines, replay, audit Millions msg/s Days to forever
RabbitMQ AMQP message broker Task queues, RPC, routing, fanout 50K–100K msg/s Until consumed
AWS SQS Managed queue AWS-native, simple task queue, serverless Very high (managed) Up to 14 days
AWS SNS Pub/sub notification Fan-out to many subscribers (email, SMS, Lambda, SQS) Very high (managed) No retention

…

Câu hỏi thường gặp

Cơ sở dữ liệu quan hệ là gì?

Đây là loại cơ sở dữ liệu tổ chức dữ liệu thành các bảng với hàng và cột, giống bảng tính, và cho phép bạn liên kết thông tin giữa chúng.

Cơ sở dữ liệu NoSQL là gì?

Đây là loại cơ sở dữ liệu không dùng định dạng bảng truyền thống. Nó linh hoạt hơn và phù hợp với khối lượng dữ liệu lớn hoặc dữ liệu có cấu trúc đa dạng.

“API protocol” là gì?

Đây là bộ quy tắc xác định cách các chương trình phần mềm khác nhau giao tiếp với nhau, giống như một ngôn ngữ chung để trao đổi thông tin.

Chi tiết

Mô tả gốc của tác giả

Reference document for monopoly tech-matrix.

repo: sickn33/agentic-awesome-skills

Độ phổ biến

Sao GitHub
48k
Vị trí xếp hạng
#5236
Giấy phép
MIT
Cập nhật
15/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự