You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When debugging I found that the services were instantiated multiple times per request. The dlopen() call is cached but the openProject() call is not. This is a network call and bad for performance.
I expect that the Nextcloud dependency injection container creates one instance per service. Need to investigate and possibly file a bug with Nextcloud.
This issue only applies when using Storj as primary storage.
The text was updated successfully, but these errors were encountered:
Erikvv
changed the title
Reduce number of service instances
Reduce number of service instantiations
Mar 14, 2022
It seems there are 2 instantiations of StorjObjectStore when using the file browser which is not as bad as I feared.
Erikvv
changed the title
Reduce number of service instantiations
Reduce number of service instantiations (primary storage)
Oct 27, 2022
Erikvv
changed the title
Reduce number of service instantiations (primary storage)
Primary storage: reduce number of service instantiations
Oct 28, 2022
When debugging I found that the services were instantiated multiple times per request. The dlopen() call is cached but the openProject() call is not. This is a network call and bad for performance.
I expect that the Nextcloud dependency injection container creates one instance per service. Need to investigate and possibly file a bug with Nextcloud.
This issue only applies when using Storj as primary storage.
The text was updated successfully, but these errors were encountered: