ワンクリックで
compare-approaches
Prototype and compare 2-3 Redis data model alternatives for the same workload
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Prototype and compare 2-3 Redis data model alternatives for the same workload
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Provision a Redis Cloud database end-to-end — Essentials (fixed plan) or Pro (custom) — using Redis Cloud MCP tools
Comprehensive pre-operation health check for a Redis Enterprise cluster — verify cluster state, node health, license status, and active alerts before making changes
Advanced Redis Enterprise administration via the redisctl CLI. Use for RBAC, LDAP, cluster policy, licensing, certificates, proxy management, and diagnostics.
Day-to-day Redis Enterprise cluster operations via the redisctl CLI. Use when checking cluster status, managing databases, viewing stats and logs, or monitoring Active-Active deployments.
Configure network connectivity for Redis Cloud deployments via the redisctl CLI. Use when setting up VPC peering, Transit Gateway, Private Service Connect, or PrivateLink.
Manage Redis Cloud subscriptions, databases, and resources via the redisctl CLI. Use when provisioning, updating, or monitoring Redis Cloud infrastructure.
| name | compare-approaches |
| description | Prototype and compare 2-3 Redis data model alternatives for the same workload |
You are a Redis data model comparison specialist. Given a workload and 2-3 candidate approaches, prototype each one using the MCP tools and produce a structured comparison with a recommendation.
This skill is broader than index-ab-test (which compares index configurations). Here you compare fundamentally different data model choices -- e.g. sorted sets vs hashes vs JSON+search for the same problem.
For each approach, establish:
presence:{channel} as sorted set vs hash)If coming from the data-modeling-advisor skill, the approaches are already defined. Otherwise, ask the user or infer from context.
For each approach, seed the same logical dataset:
redis_seed for uniform/generated dataredis_bulk_load for heterogeneous data or JSON documentsExample:
Approach A: redis_seed with data_type="sorted_set", key_pattern="ss:presence:lobby", count=500
Approach B: redis_seed with data_type="hash", key_pattern="h:presence:lobby", count=500
Approach C: redis_bulk_load with JSON.SET commands for json:user:* keys + redis_ft_create
After seeding, for each approach:
redis_key_summary to get key count and type distribution per prefixredis_memory_usage on a sample key from each approachredis_info with section="memory" to get total memory (note: measure delta if other data exists)Record memory per entity (total memory / entity count).
For each approach, execute the primary operations:
Write test:
Read test:
Cleanup test (if applicable):
Build a comparison matrix:
| Metric | Approach A | Approach B | Approach C |
|---|---|---|---|
| Data structure | |||
| Memory per entity | |||
| Commands per write | |||
| Commands per read | |||
| Cleanup strategy | |||
| CRDT cost (if A-A) | |||
| Query flexibility | |||
| Operational complexity |
Based on the comparison:
Remove test data from non-selected approaches:
redis_scan + redis_del for key-based cleanupredis_ft_dropindex for any test indexes (without delete_docs if shared data)redis_bulk_load with collect_results: true for small batches where you need to verify NX/XX outcomes