commit 46cb7563dbb34f255d5aa3a72cf7446377bc73d4 Author: bel Date: Sun Apr 10 11:07:26 2022 -0600 initial diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ac5a70f --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +**/*.sw* +**/__pycache__ diff --git a/README.md b/README.md new file mode 100644 index 0000000..ee1e64d --- /dev/null +++ b/README.md @@ -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