governor
governor copied to clipboard
plans to separate check with token operation?
Hi we have an use case to perform check and and token operation independently. for an example when a request come in we check if the remaining quota is enough if so we let request hit db and get the actual amount of token base on db response and finally we try to take n token out?
is the above scenario supported?
Is your point that you do not know up front how heavy the database operation will be ?
yes exactly I want to use a billing mode calculate how many tokens after we ran the requests.