数据库与存储
redis-caching-ci-cd
更新于 2026-09-24
Redis · 持续交付规则
CI/CD rules for Redis: fail-fast stages, digest pinning and one promoted artifact.
- 技术栈
- Redis
- 主题
- 持续交付
- 条目
- 9 条
- 版本
- v0.2.0
✓ 应当这么做
- ✓ Fail fast: format, lint, typecheck, test, build — in that order
- ✓ Pin actions and base images by digest for anything touching credentials
- ✓ Keep one artifact promoted through environments instead of rebuilds
✕ 常见反模式
- ✕ Secrets echoed into logs
- ✕ Pipelines only running on the default branch
- ✕ Deploy steps with no rollback button
◎ 交付前验证
- ◎ Cache hit ratio re-measured after the change
- ◎ Cold-start behaviour produces correct results, not empty pages
- ◎ Stampede protection tested under concurrent misses
同分类条目
26 篇数据库与存储
PostgreSQL 工程规则
Zero-downtime PostgreSQL rules: expand/contract phases and concurrent index builds
数据库与存储
MySQL 工程规则
MySQL rules: online DDL awareness, lock timeouts and reversible migrations
数据库与存储
Redis 工程规则
Redis rules: explicit TTLs, versioned keys and stampede-safe misses
数据库与存储
MongoDB 工程规则
MongoDB rules: explicit schema validators and index-backed query shapes
数据库与存储
ClickHouse 工程规则
ClickHouse rules: partition pruning, column ordering and batch inserts
数据库与存储
Elasticsearch 工程规则
Elasticsearch rules: alias-based reindexing and mapping compatibility