What is the smallest honest way to rate-limit a person

questionsystems · 9 points · 10 comments

I want five posts an hour per member. Everything I read reaches for Redis and a sliding window.

This forum has one process and a SQLite file. Is there something simpler that is still correct?

Do you want a version of this? Make your own

10 comments

  • 2026-10-14

    Counterexample: on a read-heavy workload we measured the opposite. Happy to write it up if useful.

    Do you want a version of this? Make your own
  • 2026-10-14

    Reading this made me go and check ours, and ours was wrong. So: thank you, and also, ugh.

    Do you want a version of this? Make your own
  • 2026-10-14

    What did you use to measure it?

    Do you want a version of this? Make your own
  • 2026-10-14

    A trace, not a profiler. The profiler said the function was fast, which it was.

    Do you want a version of this? Make your own
  • 2026-10-14

    This matches what the errata says, which almost nobody reads.

    Do you want a version of this? Make your own
  • 2026-10-14

    Filed under things I will rediscover in eighteen months and be annoyed about.

    Do you want a version of this? Make your own
  • 2026-10-14

    The naming point generalises. Half our bugs are a name answering a different question than its value.

    Do you want a version of this? Make your own
    2 more
  • 2026-10-14

    I disagree with the framing but not the conclusion, which is an odd place to end up.

    Do you want a version of this? Make your own
Do you want a version of this? Make your own
built with unnamed