Skip to main content

🏛️ hexaqueue-server

High-Availability Central Controller and Batch Scheduling Daemon.

PyPI: hexaqueue-server Python 3.12+ Coverage Part of Hexaqueue Built with Hexastack Governed by Hexaqual Tested on Hexaqueue License: Apache 2.0

Part of the Hexaqueue Scheduler · Built on Hexastack · Governed by Hexaqual.


🏗️ Architecture & Dependencies

graph TD
    subgraph S1["hexaqueue-server"]
        SCHED["Scheduling Engine (Priority Aging, Fair-Share, Backfill, Preemption)"]
        LEASE["SliceLeaseCoordinator (Pull-Based Worker Lease Dispatch)"]
        AUTOSCALE["BudgetAwareInstancePoolAutoscaler (Elastic Scale-to-Zero)"]
        HA["HA Leader Election (Redis / Postgres Lease)"]
        GRPC_API["gRPC Control Plane Service"]
        REST_API["FastAPI REST & Worker Pool Management Endpoints"]
    end

    subgraph S2["Internal & Hexastack Dependencies"]
        HQ_CORE["hexaqueue-core (Domain Models & Storage Ports)"]
        HQ_COLLATERAL["hexaqueue-collateral"]
        HQ_MONITOR["hexaqueue-monitor"]
        HS_AUTH["hexastack-auth (SPIFFE/mTLS & OIDC)"]
        HS_CORE["hexastack-core (ContainerPort Composition Root)"]
        HS_CQRS["hexastack-cqrs"]
        HS_DB["hexastack-db (PostgreSQL / SQLite)"]
        HS_EVENTS["hexastack-events (NATS JetStream & Redis)"]
        HS_FASTAPI["hexastack-fastapi"]
        HS_GRPC["hexastack-grpc"]
        HS_LOG["hexastack-logging"]
        HS_MCP["hexastack-mcp"]
        HS_OTEL["hexastack-otel"]
    end

    S1 --> HQ_CORE
    S1 --> HQ_COLLATERAL
    S1 --> HQ_MONITOR
    S1 --> HS_AUTH
    S1 --> HS_CORE
    S1 --> HS_CQRS
    S1 --> HS_DB
    S1 --> HS_EVENTS
    S1 --> HS_FASTAPI
    S1 --> HS_GRPC
    S1 --> HS_LOG
    S1 --> HS_MCP
    S1 --> HS_OTEL

⚙️ Configuration & Elastic Cloud Autoscaling

hexaqueue-server operates as a standalone daemon or within containerized control planes.

# Start server with default HTTP (8000) and worker pool (8001) ports
hq server start --host 0.0.0.0 --port 8000

Environment Variables

Variable Description Default
HEXAQUEUE_CSP_PROVIDER Cloud service provider enum (AWS, AZURE, GCP, LOCAL, OCI, ONPREM; see cloud adapters for active backend support) LOCAL
HEXAQUEUE_WORKER_PORT Optional dedicated port for worker agent registration and lease polling (e.g. set 8001 to enable) None
HEXAQUEUE_OCI_INSTANCE_POOL_ID OCI Instance Pool OCID for dynamic scale-to-zero compute pools None
HEXAQUEUE_COLLATERAL_BUCKET OCI Object Storage bucket name for content-addressed collateral hexaqueue-collateral
HEXAQUEUE_ADMIN_TOKEN Bearer token for privileged control plane actions None

Metadata

Release files for hexaqueue-server 0.12.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hexaqueue-server 0.12.2
File Size Uploaded Provenance Actions
hexaqueue_server-0.12.2.tar.gz 128.2 kB Without provenance Details for hexaqueue_server-0.12.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for hexaqueue-server 0.12.2
File Interpreter ABI Platform Actions
hexaqueue_server-0.12.2-py3-none-any.whl Python 3 none any Details for hexaqueue_server-0.12.2-py3-none-any.whl

Total release size: 289.6 kB

Release files / hexaqueue_server-0.12.2.tar.gz

Download URL hexaqueue_server-0.12.2.tar.gz
Size 128.2 kB
Tags Source
SHA-256 checksum
How to use checksums
5b9cc43dd4f01ba55b81e82c51a5ec4ebe80b4cfc1fb5f0f45e311800232dcea
BLAKE2b-256 checksum
How to use checksums
5e406011bb313f4bdf15e18c95cad97736d6cacc0da094c95cc4ced22731ccc3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / hexaqueue_server-0.12.2-py3-none-any.whl

Download URL hexaqueue_server-0.12.2-py3-none-any.whl
Size 161.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3305735831bcfde59ff5fcbdc7ac9ebf4991f60c051d53a7bc97aa5ec08cde2c
BLAKE2b-256 checksum
How to use checksums
02e95219981b4a88edc73fa3c1bb166cecfae2acbf323acb30004de37c1c81cc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for hexaqueue-server 0.12.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page