How alnsaraujo/anahy3 works
Main Components
• Execution Engine – At the heart of the system is a virtual machine environment embodied by AnahyVM and VirtualProcessor classes. These components execute “jobs” on NUMA systems.
• Job Management Subsystem – Classes like AnahyJob, Job, and their corresponding Attributes suggest that the system encapsulates its work in “jobs” with detailed attributes. You might also include JobGraph and JobId where the dependency or sequencing (or even execution order) of jobs is considered.
• Memory and Resource Management – Within SRC/lib, utilities like AnahySmartHeap, AnahySmartStack, and a lockFreeList indicate that there is custom and possibly concurrent memory management aimed at efficiently handling resource allocation on NUMA systems.
Architectural Patterns and Design Principles
• Modularization – The clear separation between job definitions, execution via virtual processors, and the scheduling/management layer indicates a modular design.
• Manager/Worker and Experimentation – Highlight the usage of manager/worker patterns for load balancing and note that several modules appear to be experimental, allowing for comparative architectural performance.
• Hardware/NUMA Nodes (base layer)
• Core Execution Engine (AnahyVM, VirtualProcessor)
• Job and Task Management (Job, JobAttributes, JobGraph, JobId)
• Scheduling/Load Balancing (Manager, Worker, ManagerController, Daemon)
• Memory/Resource Management (AnahySmartHeap, AnahySmartStack, lockFreeList)
• Experimental Variants (Sandbox implementations such as ProActivesVPS, newApproach, etc.)