backpressure
CommunityMaster Reactive Streams Backpressure
Authorjaeyeonling
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill addresses the critical challenge in reactive programming where a fast data producer can overwhelm a slow data consumer, leading to performance issues or crashes. It provides a clear understanding and implementation guide for Backpressure.
Core Features & Use Cases
- Backpressure Fundamentals: Explains the concept of Backpressure and contrasts Push vs. Pull models.
request(n)Mechanism: Details howrequest(n)controls data flow and manages demand.- Backpressure Strategies: Demonstrates implementations for Buffer, Drop Oldest, Drop Latest, Error, and Block strategies.
- Example Implementation: Provides a working
ArrayPublisherwith Backpressure handling. - Use Case: Implementing a data processing pipeline where a network stream (fast producer) feeds data to a disk writer (slow consumer), ensuring the system remains stable and data is not lost.
Quick Start
Understand how to implement a BufferedSubscription to handle backpressure by requesting data only when the subscriber is ready.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 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: backpressure Download link: https://github.com/jaeyeonling/simple-reactive-streams/archive/main.zip#backpressure 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.