Skip to content

Feature: Adaptive Throttler #191

@kxrxh

Description

@kxrxh

Problem

Fixed-rate throttlers don't work well on resource-constrained edge devices. They either crash when memory runs out or waste performance when resources are available.

Proposal

Add an AdaptiveThrottler that monitors system resources (memory, CPU, goroutines) and automatically adjusts processing speed based on what's actually available. No manual tuning needed.

Use Cases

  • Edge/fog computing with limited resources
  • Long-running streams with variable load
  • Autonomous systems needing self-regulating backpressure

I'm interested in implementing this. Would make go-streams much more practical for real-world edge deployments.
Happy to discuss the approach if you think this fits with the project!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions