Terms#
Engine#
An engine is one self-contained DS runtime instance, with its own Rete network, schema registry, clock, working memory, telemetry and callback registrations.
Tier#
A tier is one engine of a deployment, with its own working memory, dialect, clock and stream.
Artefact#
An artefact is a DS program compiled to the .dsc format, carrying the schemas and rules its .ds source declared.
Schema#
A schema is a fact type, registered from an artefact, whose slots are the slot-type contract its facts are held to.
(Spec: [NFCT.1.1], [NFCT.1.4.2])
Fact#
A fact is an instance of a schema, held in working memory.
Working memory#
Working memory is the set of an engine’s live facts.
Pump#
A pump is one call of ds_engine_pump, which runs the engine’s agenda to exhaustion.
(Spec: [NLFC.2.2])
Stream event#
A stream event is one observable event of an engine, delivered to the stream callback as a ds_stream_ev_t.
Callback#
A callback is an integrator function that libds invokes.
(Spec: [NCBK.1.1])
Handle#
A handle is a pointer to a libds type whose layout is private.