I recently went through a surgery for treating my sleep apnea. I have documented my experience here. Happy to answer any of your questions
https://www.quora.com/profile/Kartik-Sura/My-Struggle-with-A...
8 karma · joined November 8, 2015
https://www.quora.com/profile/Kartik-Sura/My-Struggle-with-A...
Great framework to build highly scalable, low latency service (developer friendly). It would be great some detailed tutorials and documentation about its internals.
generate a random number between 0:100 if the number is 0-30 the Ad 1 has to be shown if the number is 30-70 the Ad 1 has to be shown else RTB is to be called
The servers can be now independent and no need to share the state, or have a lock based counter. For large number of requests, and with a good random number generator, you will get good results.