Difference between revisions of "Local Leaky Impulse Bucket (LogiX node)"
Jump to navigation
Jump to search
DoubleStyx (talk | contribs) m |
DoubleStyx (talk | contribs) m |
||
Line 15: | Line 15: | ||
<!--T:2--> | <!--T:2--> | ||
− | The '''Local Leaky Impulse Bucket''' node can be used as a buffer to store multiple impulses and release them at a constant rate. This node | + | The '''Local Leaky Impulse Bucket''' node can be used as a buffer to store multiple impulses and release them at a constant rate. This node operates according to the [https://en.wikipedia.org/wiki/Leaky_bucket Leaky bucket] algorithm. |
== Usage == | == Usage == | ||
<code>Trigger</code> is the impulse source for the bucket. <code>Reset</code> will remove all remaining impulses from the bucket. <code>Interval</code> is a configurable time interval which affects how often impulses are poured out of the bucket. <code>MaximumCapacity</code> is the maximum number of impulses that can be stored in the bucket. <code>Pulse</code> fires whenever the specified time interval has elapsed if there are impulses remaining. <code>Overflow</code> fires whenever an impulse is received through <code>Trigger</code> while the bucket is full. <code>CurrentCapacity</code> is the current number of impulses in the bucket. | <code>Trigger</code> is the impulse source for the bucket. <code>Reset</code> will remove all remaining impulses from the bucket. <code>Interval</code> is a configurable time interval which affects how often impulses are poured out of the bucket. <code>MaximumCapacity</code> is the maximum number of impulses that can be stored in the bucket. <code>Pulse</code> fires whenever the specified time interval has elapsed if there are impulses remaining. <code>Overflow</code> fires whenever an impulse is received through <code>Trigger</code> while the bucket is full. <code>CurrentCapacity</code> is the current number of impulses in the bucket. |
Latest revision as of 09:47, 9 May 2022
Local Leaky Impulse Bucket | ||
---|---|---|
Inputs | ||
Impulse | Trigger | |
Impulse | Reset | |
Float | Interval | |
Int | MaximumCapacity | |
Outputs | ||
Impulse | Pulse | |
Impulse | Overflow | |
Int | CurrentCapacity |
The Local Leaky Impulse Bucket node can be used as a buffer to store multiple impulses and release them at a constant rate. This node operates according to the Leaky bucket algorithm.
Usage
Trigger
is the impulse source for the bucket. Reset
will remove all remaining impulses from the bucket. Interval
is a configurable time interval which affects how often impulses are poured out of the bucket. MaximumCapacity
is the maximum number of impulses that can be stored in the bucket. Pulse
fires whenever the specified time interval has elapsed if there are impulses remaining. Overflow
fires whenever an impulse is received through Trigger
while the bucket is full. CurrentCapacity
is the current number of impulses in the bucket.