Binary RPC
A simple binary protocol over TCP: a 4-byte length prefix plus a JSON body. Listens on :8081 by default (-rpc flag, disable with -no-rpc).
Worth reaching for when HTTP overhead (header parsing, keep-alive, etc.) shows up in your load profile — RPC gives more predictable latency under a high rate of small requests. For most scenarios (admin panels, internal tools, low-write APIs) the HTTP API or native drivers are more convenient and fast enough.
← Previous
PostgreSQL / MySQL wire protocolNext →
RBAC (multi-user)