Home / Market / architecture-paradigm-pipeline

architecture-paradigm-pipeline

Pipes-and-filters architecture

skill★ 00 dlclawhubMIT-0Install in CosmosUpstream Source

Documentation & Preview

--- name: architecture-paradigm-pipeline description: Pipes-and-filters architecture version: 1.10.3 triggers:

metadata: {"openclaw": {"homepage": "https://github.com/athola/claude-night-market/tree/master/plugins/archetypes", "emoji": "\ud83c\udfd7\ufe0f"}} source: claude-night-market source_plugin: archetypes

---

> Night Market Skill: ported from claude-night-market/archetypes. For the full experience with agents, hooks, and commands, install the Claude Code plugin.

The Pipeline (Pipes and Filters) Paradigm

When to Employ This Paradigm

When NOT To Use

archetypes:architecture-paradigm-client-server)

Adoption Steps

  1. Define Filters: Design each stage (filter) to perform a single, well-defined transformation. Each filter must have a clear input and output data schema.
  2. Connect via Pipes: Connect the filters using "pipes," which can be implemented as streams, message queues, or in-memory channels. validate these pipes support back-pressure and buffering.
  3. Maintain Stateless Filters: Where possible, design filters to be stateless. Any required state should be persisted externally or managed at the boundaries of the pipeline.
  4. Instrument Each Stage: Implement monitoring for each filter to track key metrics such as latency, throughput, and error rates.
  5. Orchestrate Deployments: Design the deployment strategy to allow each stage to be scaled horizontally and upgraded independently.

Key Deliverables

Risks & Mitigations

Concrete Components

Vocabulary for the tools and abstractions an implementation of this paradigm tends to carry. Not dependencies, and not `tools:` frontmatter.

Exit Criteria

error-handling strategy (DLQ, retry count, dead-letter routing), and the data replay mechanism.

adjacent filters is caught by a CI compatibility check.

rate before the pipeline is promoted to production.

2x the expected peak throughput.