원클릭으로
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