Build a structure that many threads update as requests arrive and that reports how many requests each IP sent within a recent time window — using only basic thread primitives — then let it group by other attributes such as the browser agent.
Build a structure that many threads update as requests arrive and that reports how many requests each IP sent within a recent time window — using only basic thread primitives — then let it group by other attributes such as the browser agent.
Opens with the full question.