Skip to main content
Activation is the mechanism by which NTL nodes decide whether to process an incoming signal. It replaces traditional rate limiting, load balancing, and routing logic with a biologically-inspired threshold model.

The Activation Model

In biological neurons, a cell fires only when incoming stimulation exceeds its activation threshold. Below threshold, signals accumulate but produce no output. Above threshold, the neuron fires and propagates. NTL nodes work the same way:
  1. Signals arrive at a node via synapses
  2. Each signal contributes its weight to the node’s activation potential
  3. When the activation potential exceeds the node’s threshold, the node processes the signal and may propagate further
  4. After firing, the node enters a refractory period before it can fire again

Why Not Rate Limiting?

Traditional rate limiting is crude: it counts requests per time window and rejects anything over the limit. This has fundamental problems:
  • It treats all requests equally (a critical signal is rejected the same as spam)
  • It doesn’t adapt to network conditions
  • It creates hard failure modes (429 errors, retry storms)
  • It doesn’t provide natural backpressure
Activation thresholds solve all of these:

Activation Mechanics

Activation Potential

Each node maintains an activation potential — a running weighted sum of incoming signals:
When a signal arrives:

Dynamic Threshold

The activation threshold is not static. It adjusts based on:
  • Load — Under high load, the threshold increases (node becomes more selective)
  • Priority — Certain signal types can lower the threshold temporarily
  • Health — Degraded nodes raise their threshold to shed load

Refractory Period

After firing, a node enters a refractory period during which it cannot fire again. This prevents signal storms and ensures orderly processing. During the refractory period, incoming signals still accumulate potential — they’re not lost, just deferred.

Activation Functions

NTL supports different activation functions that control the relationship between potential and firing:

Step (Default)

Fires when potential exceeds threshold. Simple, deterministic.

Sigmoid

Produces a probability of firing that increases smoothly with potential. Useful for stochastic routing.

Leaky

Always allows a small fraction of signals through, even below threshold. Useful for ensuring liveness.

Custom

Applications can register custom activation functions:

Configuration

Last modified on September 11, 2026