backpressure

Community

Prevent OOM crashes, manage data flow.

Authordadbodgeoff
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill prevents application crashes and data loss caused by producers generating data faster than consumers can process it, ensuring stable and reliable data flow.

Core Features & Use Cases

  • Bounded Buffering: Limits memory usage by enforcing a maximum queue size.
  • Adaptive Flushing: Dynamically adjusts the rate at which data is sent downstream based on its health.
  • Multiple Strategies: Offers options like blocking, dropping oldest/newest data, or sampling to handle overload.
  • Use Case: Ideal for scenarios like ingesting high volumes of events into a slower database or handling sudden traffic spikes without overwhelming downstream services.

Quick Start

Use the backpressure skill to manage data flow with a maximum buffer size of 10000 items and a drop oldest strategy.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 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/dadbodgeoff/drift/archive/main.zip#backpressure

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.