I am happy to see, that @fastify/throttle receives feedback. When I implemented it a few weeks ago for @fastifyjs, it was because of the curiosity for the implementation per se.
Well v2.0.0 will allow you to generate a bytesPerSecond function by request.
github.com/fastify/fastify-t…
My next target for performance optimizations in node:
SystemError. So before refactoring I wrote more unit tests, fixed a bug and provided a benchmark.
github.com/nodejs/node/pull/…