-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Storm cache supports millisecond resolution (#1011)
The Storm Cache now supports milliseconds wait times. When the a storm cache is empty it will also only wait for a maximum inFlightTTL. This means that the maximum number of serial requests that will be waited for before an error is now graceInterval / inFlightTTL. In this situation, the cache will return/throw InFlightTTLExceeded. Under continuous failure situations having inFlightTTL and graceInterval be seconds can result in a continuous buildup of load. Consider a situation where a specific branch key will never be successfully added to the storm cache. Under continuous load the storm cache will turn this load from concurrent requests to serial requests. However, if a failure is relatively fast, like 25ms, then this serial handling of load at a minimum of 1 request per second will quickly cause the system to be overwhelmed.
- Loading branch information
Showing
23 changed files
with
903 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.