Skip to content
bitzorcas
中EN

Concept

Host Composition & Topology: API, Gateway, JobHost & Aspire

Architectural breakdown of BitzOrcas.Modern host composition: API Host, YARP Gateway, JobHost, ServiceDefaults, and .NET Aspire orchestration.

Last updated

BitzOrcas.Modern separates runtime concerns into dedicated Host composition roots: synchronizing HTTP APIs, edge gateways, and background workers while sharing telemetry via ServiceDefaults.

Host Composition Topology

Background Worker HostShared Infrastructure Tier

SQL Server 2022 (:14333)

Redis 7 (:6379)

RabbitMQ (:5672)

Client / Web Frontend (5860)

BitzOrcas.Gateway (YARP Gateway :6880)

BitzOrcas.Api (Business Minimal API :6881)

BitzOrcas.JobHost (Quartz Distributed Jobs)


Host Responsibility Matrix

Host ProjectDefault PortCore Responsibilities & Architecture Positioning
BitzOrcas.Api6883 (HTTPS) / 6881 (HTTP)Primary business API host, executing JWT/2FA authentication, tenant resolution, 10-stage pipeline execution, and vertical slice handler dispatch
BitzOrcas.Gateway6880 (HTTP)YARP reverse proxy gateway, handling global rate limiting, CORS security headers, and domain routing
BitzOrcas.JobHostNo external HTTP portQuartz distributed background worker host, executing data archival, subscription renewal deductions, and unfulfilled ticket timeouts
BitzOrcas.AppHost6888 (Dashboard).NET Aspire local orchestration composition root, bootstrapping containers and micro-kernel instances with integrated distributed tracing

Summary

Clear host responsibility boundaries provide operational elasticity:

  • Traffic Surge Isolation: The gateway tier absorbs and throttles burst traffic, safeguarding internal business APIs;
  • Asynchronous Task Decoupling: Heavy data archival and reporting workloads run in JobHost, never competing for API request thread pools.

100%

Scroll or use controls to zoom · drag when enlarged · double-click for 100% / 200%