I'm trying to learn how to integrate bucket4j on our API. One requisite is that I must keep the rate-limit state between app restarts. For example, if I define a limit of 1 calls per hour, deploying our app should not restart the rate-limit counters (even though the app itself will restart).
Is there any simple path to fulfill this requisite? Any way to load/save the state from/to a file should work.
Beta Was this translation helpful? Give feedback.