Pynenc Redis Plugin

Full-stack Redis backend for Pynenc distributed task orchestration.

The pynenc-redis plugin provides all five Pynenc components running on Redis. Install it alongside Pynenc and it registers itself automatically via Python entry points.

pip install pynenc-redis

Components at a Glance

Component

Class

Role

Orchestrator

RedisOrchestrator

Distributed status tracking & blocking control

Broker

RedisBroker

FIFO message queue via Redis lists with blocking pop

State Backend

RedisStateBackend

Persistent state, results, exceptions & workflow data

Client Data Store

RedisClientDataStore

Argument caching for large serialized payloads

Trigger

RedisTrigger

Event-driven & cron-based task scheduling


Quick Start

from pynenc import PynencBuilder

app = (
    PynencBuilder()
    .app_id("my_app")
    .redis(url="redis://localhost:6379")  # all components on Redis
    .process_runner()
    .build()
)

@app.task
def add(x: int, y: int) -> int:
    return x + y

.redis() registers every component at once. See Installation & Quick Start for environment-variable and Docker Compose alternatives.


🚀 Installation & Quick Start

Get up and running with PynencBuilder, environment variables, and Docker Compose examples.

Installation & Quick Start
⚙️ Configuration Reference

All connection, pool, orchestrator, state backend, and trigger settings — with types, defaults, and descriptions.

Configuration Reference
🏗️ Architecture

How the plugin uses Redis: connection pooling, key naming convention, atomic operations, and data structure choices.

Architecture

Part of the Pynenc ecosystem · MongoDB Plugin · RabbitMQ Plugin