Gateway & metering
When exactly should a streaming request be charged
You don't know the cost when the request starts, and by the time it ends the money is already spent. This is the easiest thing to get wrong in a metering system. We solve it in two phases.
Read the post →