RinhaDeBackend::Server
Composition root: load mmapped references + MCC risks, build the
vectorizer/IVF index, then hand control to the raw HTTP/1.1 server
in HttpServer. Everything below is one-shot startup work; the hot
path lives in HttpServer#handle.
Constants
DEFAULT_HOST = HttpServer::DEFAULT_HOST
DEFAULT_PORT = HttpServer::DEFAULT_PORT
GC_STATS_PERIOD = 5
Period (seconds) between GC.stats snapshots emitted on STDERR. Off the hot path; gives us cheap visibility on whether the heap is actually static under load. 0 disables the monitor.
Constructors
Instance methods
listen
Source