Skip to main content

Module server

Module server 

Source
Expand description

SERVER-role connection driver.

The SERVER role holds an outbound connection to the backend datastore (RESP or memcache). The driver pulls requests off the connection’s in-queue, encodes them onto the wire, and parses response bytes back into Msgs that it dispatches to the originating client.

The driver is transport-agnostic and is wired to the cluster’s Dispatcher so client / server connections form a complete request-response pipeline.

Structs§

OutboundRequest
Envelope sent into the server driver.
ServerConn
Outbound server-side connection driver.