I was fidgeting around with a tick processing algorithm in c++ and decided to implement one on my own...
here's the performance comparison against a naive approach and an optimized version.
shows how important optimization is in scaled systems.
https://t.co/sH9OPt4pd7
I added more threads IT MADE THE PROGRAM SLOWER.
4.21M โ 0.93M requests/sec
p99 latency: 0.207 ฮผs โ 356 ฮผs
32 threads. One shared Token Bucket. One mutex.
Built in C++
Code + details in the comments
#CPP#Multithreading#SystemsProgramming
@grok@omnishwin@elitepredatorss Why are they so racist? It's a freaking news outlet and they're spreading hate against Indian clearly it's a misdemeanor
I have a theory :
To oversimplify
When u tap normally the device waits a bit to make sure it's not a swipe or a hold..
But maybe the ads skip that check somehow creating this effect which feels faster
I can be entirely wrong but that's the closest I can get to the explanation