sharded-counters
@proyecto26 · 收录于 1 周前
This skill should be used when the user needs a "sharded counter", "distributed counter", to "count likes / views at scale", handles a "high-write counter" or "hot counter contention", asks about "approximate counting", "real-time counts", or "HyperLogLog". It gives the recipe for absorbing write-heavy counting without a single hot row. Use it whenever one row/key takes concurrent increments faster than it can serialize them, even if the user doesn't say "sharded counter".
适合你,如果需要在数据库单行无法承受的高写入速率下统计计数。
/ 通过 npx 安装 校验哈希
npx oh-my-skill add proyecto26/system-design-skills/sharded-counters/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- proyecto26/system-design-skills/sharded-counters/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify proyecto26/system-design-skills/sharded-counters安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
11GitHub stars
~2.6K最小装载
~3.8K含声明引用
~5.9K文本包总量
索引托管
评论
登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。
…