sysdesign-newsfeed-fanout
CommunityScale social feeds with a hybrid fan-out.
Software Engineering#moderation#latency#read-write#fan-out#news-feed#hybrid-design#materialized-feed
Authordanilods
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Balance fan-out on write versus merge-on-read for celebrity-scale social feeds. This skill provides a structured approach to deciding when to push posts to all followers versus merging on read to protect latency and resource usage at scale, while ensuring moderation and traceability.
Core Features & Use Cases
- Hybrid fan-out design: combine write-time propagation for small follow graphs with read-time merging for high-followers.
- Inline moderation and bounded materialized feeds: enforce policy checks before materializing feeds and cap per-user feed length.
- Observability plan: monitor p99 latency by follower-graph shape and provide a clear cutover threshold for celebrity accounts.
- Use Case: a post from a Celeb account should bypass aggressive write fan-out and rely on read-time aggregation for their followers.
Quick Start
Provide a baseline social feed design and flag accounts above a follower threshold to switch from fan-out-on-write to merge-on-read.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: sysdesign-newsfeed-fanout Download link: https://github.com/danilods/matilha-sysdesign-pack/archive/main.zip#sysdesign-newsfeed-fanout Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.