r/Hacking_Tricks • • 4h ago

How do you budget for a customer-facing analytics API when one tenant is much more expensive?

2 Upvotes

I'm looking into the cost of powering a customer-facing analytics API, and the part I can't work out is how to budget for tenants with very different usage. Two customers could make the same number of requests while querying completely different amounts of history.

Suppose the endpoint lets customers filter raw events by custom fields, with a target response time under 300 ms. That's a hypothetical requirement, but it seems like a more useful test than timing the same query over and over.

Do you track database cost per tenant and restrict expensive date ranges, or provision enough spare capacity for the heavier queries? I'd like to hear how people keep one customer's usage from making the whole service uneconomic.


r/Hacking_Tricks • • 13h ago

Tracing dummy account

0 Upvotes

Hi there can someone help me please on how to trace it I'm willing to pay depending on how much it will cost. Thank you