Activation
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:- Signals arrive at a node via synapses
- Each signal contributes its weight to the node’s activation potential
- When the activation potential exceeds the node’s threshold, the node processes the signal and may propagate further
- 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
| Problem | Rate Limiting | Activation |
|---|---|---|
| Signal priority | All equal | Weight-based priority |
| Adaptation | Fixed windows | Dynamic threshold |
| Failure mode | Hard reject (429) | Graceful accumulation |
| Backpressure | None (client retries) | Natural (signals queue) |
| Spam resistance | IP-based blocking | Weight attenuation |
Activation Mechanics
Activation Potential
Each node maintains an activation potential — a running weighted sum of incoming signals: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