Skip to content

system & scheduler #3

Description

@monok-robeto

System and Scheduler Architecture

building a system to let users register and initialize systems directly using query parameters. The architecture is split into three core components:

  • Systems: The logic that performs the work.
  • System Params: The query parameters that define what data a system needs.
  • Scheduler: The engine that manages the execution flow.

Development Phases

We are approaching this in distinct stages to manage complexity:

  1. Phase One: A single-threaded scheduler that runs systems sequentially.
  2. Phase Two: Introducing parallel execution for systems that don't share dependencies.
  3. Phase Three (Optional): Fine-grained execution control, allowing users to define the order of operations during system registration.

Execution Control and Lifecycle

To manage the execution order and lifecycle of these systems,implementing a tick-based counter. This system will track the execution sequence and ensure that systems run in the correct order, providing a clear way to manage dependencies and lifecycle hooks.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

  • Status
    In progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions