initial
commit
46cb7563db
|
|
@ -0,0 +1,2 @@
|
||||||
|
**/*.sw*
|
||||||
|
**/__pycache__
|
||||||
|
|
@ -0,0 +1,23 @@
|
||||||
|
# Leaky Bucket
|
||||||
|
|
||||||
|
Given a stream of requests,
|
||||||
|
|
||||||
|
* enqueue up to N
|
||||||
|
* discard excess of N
|
||||||
|
* drain at rate R
|
||||||
|
|
||||||
|
## Goals
|
||||||
|
|
||||||
|
### emits system signal to pid
|
||||||
|
|
||||||
|
inter-process
|
||||||
|
|
||||||
|
### rust
|
||||||
|
|
||||||
|
:)
|
||||||
|
|
||||||
|
### heatmap from stream for button push simulation
|
||||||
|
|
||||||
|
* Dugdug twitch chat turns into a threshold to activate buttons
|
||||||
|
* emit at rate R while queue is of length M
|
||||||
|
* incoming items count as C entries
|
||||||
Loading…
Reference in New Issue