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
Config is a big structure. If many Storage instances are created within the application, then the config introduces a large overhead. Most of the config parameters are non-specific and can be shared between storage instances, which will reduce memory consumption.
The idea is to split the Config into specific (stores work_dir and some other parameters) and shared one and make the ability to build it with Builder. Probably, this will require to create separate Builder struct for this purpose
The text was updated successfully, but these errors were encountered:
Config
is a big structure. If manyStorage
instances are created within the application, then the config introduces a large overhead. Most of the config parameters are non-specific and can be shared between storage instances, which will reduce memory consumption.The idea is to split the
Config
into specific (storeswork_dir
and some other parameters) and shared one and make the ability to build it withBuilder
. Probably, this will require to create separate Builder struct for this purposeThe text was updated successfully, but these errors were encountered: