wavehub
Members

Streaming

Each event flows through a series of transformation stages, with built-in support for filtering, mapping, and conditional routing.

The core wavehub object is a lightweight wrapper that manages the lifecycle of your event stream.

stream.pipe(retry( maxAttempts: 3, backoff: 'exponential' ), timeout(30000)).subscribe(console.log);

Batching is automatic—control it via `batch(100)` or `batch({ size: 50, timeoutMs: 1000 })` to trade latency for throughput.

Streaming

Batching is automatic—control it via `batch(100)` or `batch({ size: 50, timeoutMs: 1000 })` to trade latency for throughput.

stream.on('*.created', async (event) =>  await db.insert('events', event); ,  concurrency: 50 );

Rate limiting is built in: configure token buckets, sliding windows, or adaptive limits that respond to backpressure.

See also