-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plugin cache conflicts #49
Comments
Good idea, we should also make sure our cache files don't end up in the temp folder anymore (something like AppData) since linux/macos tend to empty the temp folder on reboot, etc. |
An issue by adding a The |
Basically, we have two different types of files in the cache directory:
@luithefirst so your suggestion is to add the assembly version for the query caches but not the plugin location caches? I don't really see how adding the version to the plugin location caches is a problem. Does simply compiling increment the assembly version in your use cases? In this case, incorporating the version into the name would also lead to cache misses for the introspection cache of your assembly. As for the caching system in general, I wonder if this loose file-based structure is a good idea if we discriminate between versions as well. My cache directory already contains over 1000 files, can that become a problem?
Regarding |
Regarding the loose file-based structure: As we also typically have an even larger number of shader caches, I did not saw this as an issue so far. |
65a6d1a adds a new static class |
I implemented configurable naming schemes in 7cd190c. Can be modified by setting |
I guess this is the best solution for now as it does not change anything fundamentally |
When looking at the aardvark plugins cache it is written to a file with
AssemblyName + "_plugins.bin"
, while all other cache files also contain aGuid
. This causes conflicts when starting different deployment versions of the same application and results in a lot of cache misses and slow startup time. It would be cleaner to also add some kind of version or assembly guid there.The text was updated successfully, but these errors were encountered: