3 ms·
>"we had used a random number generator within a segmented number range." Could you describe your current implementation and its elegance?
by bogomipz 10y ago
>"we had used a random number generator within a segmented number range."
Could you describe your current implementation and its elegance?
- kartiksura 10y agoAd 1 has to be shown 30% of the traffic Ad 2 has to be shown 40% of the traffic Remaining has to be given to RTB 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.
- packersfan0000 10y agoNot to be a hater, but that seems like by far the most obvious way to do that, right?
- kartiksura 10y agoYes. It is intuitive to some. But I never learnt it from a text book. Thats why I was curious about such other tricks.
- borplk 10y agoYeah not to be an ass but that's pretty standard. And cool too I admit.
- bogomipz 10y ago>"Yeah not to be an ass but that's pretty standard." Pretty standard in what context? Can you elaborate? Is there a name for the algorithm?
- kartiksura 10y agoIt might seem standard among some circles. And i have learnt them on the floor. But could never find a book or blog which describes some more examples. I was curious if others had any ideas to share.
- bogomipz 10y ago>"40% of the traffic Remaining has to be given to RTB" What is RTB?
- kartiksura 10y agoReal time bidding. It is used to trade ads with exchanges. When you dont have your own ads from your sales team.
- bogomipz 10y agoAh OK thanks, for somer reason I was thinking the TB in RTB was token bucket and I was scratching my head at the first letter. Now I feel silly. Cheers.