Hello developers,
I am designing budget controller in my DSP library .
I was thinking to make it simpler then in RTBkit.
I seems as all those credit/debit segregation and splitting balance into transactional buckets ( inFlight , allocatedOut , **increased , **decreased ) is really unnecessary.
It seems as designers of RTBkit over complicated the issue .
The way transactions are stored DB style are:
amount | type-of-action | timestamp
this is how I see it in the audit table or in the log , but not embedded in a class. The class should have been
class AccountBudget {
Amount a;
AmountType at; // Begining balance, out, in , etc, etc
Timestamp ts;
};
But why this detailed information is kept in the RTBkit stack as type listed as finite number of variables of C++ class ?
I am trying to finish my implementation by end of March and will share with anyone interested.
First of all , I want to simplify things and deduct from balance only on receiving Win notification .
Here is my rational : is out of all bids we submit the number of wins is incredibly small .
Even if you are worried about over-trading , it's never going to be more then 1-2$ .
Because those DSPs are bidding fairly small amounts and it takes 3-4 seconds max to get win notice back .
I don't see how huge overtrading can occur .
So I would not even bother tracking all intentions and therefore simply deduct amount from the balance when Win arrives.
It seems with this complex set up where you stop trading for 3-4 seconds when balance is exhausted due to outstanding bids is not needed ?
Let me know what you think .
Cheers,
Vlad.
--
You received this message because you are subscribed to the Google Groups "openrtb-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openrtb-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.