-
Notifications
You must be signed in to change notification settings - Fork 677
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(trie): separate caches for view client and client (#3460)
Currently view client and client share the same cache inside trie. This causes problem when there is some expensive request coming in from view client (state part request for example), which will cause lock contention and can potentially block the client actor. This PR creates separate cache for view client. Notice that while the cache can contain stale data that have been deleted, view client is tolerant to such transient inconsistencies so there should not be an issue. Test plan --------- nayduck run http://nayduck.eastus.cloudapp.azure.com:3000/#/run/539
- Loading branch information
1 parent
64b705d
commit 9074336
Showing
4 changed files
with
49 additions
and
15 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