-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When doing any sort of restart (either in-process or across the process boundary) with sqlite caches, we end up firing up multiple Caches over sqlite backends over the same database. This is very much broken, as there's no inherent synchronization between caches and the old and new caches will happily end up stepping on each other's toes (the new cache will begin its job by fetching all relevant resources, *clearing the backend* and then reinserting the resources while the old cache is still using the same backend). As restarts while auth is unreachable are already broken, there seems to be no real point to maintaining any sort of persistent on-disk cache; memory usage could be an issue but the cache for node and node-like roles should be pretty small to begin with, and for big deployments we are already recommending that proxies use in-memory caches (as per docs/pages/setup/operations/scaling.mdx ).
- Loading branch information
1 parent
0644267
commit 7e74595
Showing
5 changed files
with
18 additions
and
54 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
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