What this instance is among others (§15): nothing, by default — an instance alone, reached directly. A gateway is the one address a fleet is reached through, routing each session to the instance it lives on; a node is an instance that also attaches to a gateway, under a name.
Only the facts live here, in a namespace that requires nothing, so that
the teaching surface — tool list, instructions, manual, scratch wiring —
can vary by role without knowing how either role works. The roles
themselves are gateway and node.
What this instance is among others (§15): nothing, by default — an instance alone, reached directly. A gateway is the one address a fleet is reached through, routing each session to the instance it lives on; a node is an instance that also attaches to a gateway, under a name. Only the facts live here, in a namespace that requires nothing, so that the teaching surface — tool list, instructions, manual, scratch wiring — can vary by role without knowing how either role works. The roles themselves are `gateway` and `node`.
(configure! role name)Take a role — :gateway, :node or nil — and the name this
instance goes by among the fleet. Set at init!, before the port opens.
Take a role — `:gateway`, `:node` or nil — and the name this instance goes by among the fleet. Set at `init!`, before the port opens.
(default-name)The machine's hostname, which is what tells one development machine from another; a name made up for the run when the machine will not say. A default for want of a better one: the name is the instance's whole identity among the fleet, and a host that has a better one gives it.
The machine's hostname, which is what tells one development machine from another; a name made up for the run when the machine will not say. A default for want of a better one: the name is the instance's whole identity among the fleet, and a host that has a better one gives it.
The most one frame of a fetched request body holds: what a gateway writes at a time, and the longest a node will take.
The most one frame of a fetched request body holds: what a gateway writes at a time, and the longest a node will take.
(node-name)This instance's name among the fleet, nil for an instance alone.
This instance's name among the fleet, nil for an instance alone.
The revision of what nodes and a gateway say to each other (§15). An attach carries the node's, and a gateway refuses one that is not its own: the two agree on every message or on none, and a difference found later is found as a file stored wrong.
The revision of what nodes and a gateway say to each other (§15). An attach carries the node's, and a gateway refuses one that is not its own: the two agree on every message or on none, and a difference found later is found as a file stored wrong.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |