From 46cb7563dbb34f255d5aa3a72cf7446377bc73d4 Mon Sep 17 00:00:00 2001 From: bel Date: Sun, 10 Apr 2022 11:07:26 -0600 Subject: [PATCH] initial --- .gitignore | 2 ++ README.md | 23 +++++++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 .gitignore create mode 100644 README.md 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