Hacker News new | ask | show | jobs
by cntlzw 1400 days ago
Tricky problem to implement. I tried to compute requests per seconds from multiple threads. Problem gets much harder if you reach a certain threshold. I think it was round 100 requests per second in my case. After this memory contention becomes a problem. Then I learned about LongAdder in Java. It was a really interesting topic.