module Fantail

Provides worker-aware HTTP load balancing with a global admission queue.

Nested Classes and Modules

class Backend

Represents a live backend client and its admission state.

module Balance

Built-in backend selection policies.

class Configuration

Immutable request queue and admission configuration.

class Control

Exposes a registry over async-bus for endpoint publication.

class Endpoint

Represents a named HTTP backend endpoint.

class Monitor

Publishes a desired endpoint set and subsequent deltas to a Fantail registry.

class Proxy

Routes HTTP requests through the configured admission queues.

class Queue

Immutable policy for one class of requests.

class Registry

Maintains live backends and notifies the scheduler when capacity changes.

class ResponseBody

Wraps an upstream response body and releases its backend exchange when closed.

class Scheduler

Matches pending requests to concrete backend permits.

class Server

Runs the HTTP load balancer and endpoint-control server together.