ReasonChip is a distributed, pipeline-driven reasoning system designed to handle complex, asynchronous job execution across multiple components. A the heart of the system are three major roles: clients, brokers, and workers. This document outlines the responsibilities of each component, how they interact, and the overall flow of job execution within the infrastructure.
Purpose:
Clients are external systems, user interfaces, or automated scripts that initiate a job or pipeline. They act as the entry point for work into the ReasonChip system.
Responsibilities:
Purpose:
The broker serves as the central coordination point of the ReasonChip system. It accepts incoming client connections and routes work to available workers.
Responsibilities:
Optional Capabilities:
Purpose:
Workers are the executors of ReasonChip pipelines. Each worker processes tasks routed to it by a broker, potentially handling multiple tasks concurrently or sequentially depending on configuration.
Responsibilities:
Execution Contexts:
Client -> Broker : Establish Connection
Client -> Broker : Submit Job Request
Broker -> Worker : Dispatch Job
Worker -> Broker : Stream Logs/Updates
Broker -> Client : Stream Logs/Status
Worker --> Broker : Job Complete + Result
Broker --> Client : Final Result
Client to Broker:
Worker to Broker:
All transports provide for SSL/TLS encryption and authentication.
Secrets (e.g., API keys, tokens) should be stored in a secure vault or kept within isolated areas. The broker may be provided with secrets on startup and these will be combined to all requests received from the clients and sent to the workers. The workflows should not contain any secrets, and instead, the broker should be responsible for providing these to the workers.
Secrets are kept in memory during runtime. Depending on your log-levels, secrets MAY BE logged.
By default, all logging goes to syslog and different log-levels are provided.
Individual loggers (modules) within the system may be targetted for different log levels.
© 2025 South Patron LLC. All rights reserved.
AI everywhere.