Skip to main content

key-value

Key-value data model, distributed caching, and in-memory stores

跳到安装

来源信息

仓库
NeuralBlitz/Mito
最近来源活动
2026年3月22日 13:29
检测到的 SKILL.md 语言
英语
星标
0
分支
0

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
key-value
description
Key-value data model, distributed caching, and in-memory stores
license
MIT
compatibility
opencode
metadata
{"audience":"developers","category":"databases"}
## What I do - Design key-value schemas and data models - Implement caching strategies and policies - Optimize for low-latency access patterns - Work with distributed hash tables - Handle data partitioning and replication ## When to use me When building high-performance applications requiring fast lookups, caching layers, session stores, or distributed caching systems. ## Key Concepts ### Data Modeling - Key design patterns (natural keys, composite keys) - Value serialization (JSON, protobuf, msgpack) - Time-to-live (TTL) and expiration - Namespace and prefix patterns ### Caching Strategies - Cache-aside (lazy loading) - Write-through caching - Write-back caching - Cache invalidation patterns - Bloom filters for cache miss reduction ### Distributed Key-Value - Consistent hashing - Data partitioning (sharding) - Replication strategies - CAP theorem trade-offs - CRDTs for conflict resolution ### Performance Optimization - In-memory vs disk-backed stores - Data structure choices (B-trees, LSM trees, hash tables) - Connection pooling - Batch operations - Compression ## Common Use Cases - Session storage - Caching layer - Configuration stores - Rate limiting - Leader election - Distributed locks ## Tools & Technologies - Redis, Memcached - etcd, Consul - DynamoDB, Cassandra - Riak, CockroachDB
在 GitHub 查看