Advanced module configuration

Changing default number of items per module

By default, the namespace in a single ApisHive instance, can have a maximum of 4096 modules, with a maximum of 1048575 items in each module.

If you for some reason want to change this, ie. to allow for more than 4096 modules in an instance or more than 1048575 items in a module, you must add/change an entry in the Windows registry.

Eg. to have a maximum of 65536 modules, with a maximum of 65536 items in each module, add/change the following registry entry:

[HKEY_LOCAL_MACHINE\SOFTWARE\Prediktor\Apis\ApisHive\Modules\]
"MaxItemsInModule"=dword:0000ffff

The upper and lower limits for the MaxItemsInModule value, are:

  • Minimum (256 items/16777215 modules): "MaxItemsInModule"=dword:000000ff
  • Maximum (16777215 items/256 modules): "MaxItemsInModule"=dword:00ffffff

Please note that when changing this value for a named instance, modify the path of the registry key to reflect the name of the instance. Eg.:
[HKEY_LOCAL_MACHINE\SOFTWARE\Prediktor\Apis\_MyInstanceName_\Modules\]

Please note that the registry entry is not present by default, and must be added if not used before. Also, if changing this value, the Hive instance must be restarted to take effect.

Disable automatic resolution of external items when using ExternalItem filter attributes

When adding, deleteing or renaming items or modules in an ApisHive instance using ExternalItem filters, external items are by default automatically resolved at runtime. On huge configurations this might be time consuming, as all item connections potentially needs to be resolved again.
So, if you perform the add/delete/rename operation(s) at a time you can restart your Hive configutration, you can add/change the following registry entry:

[HKEY_LOCAL_MACHINE\SOFTWARE\Prediktor\Apis\ApisHive\Modules] "AutoResolveExternalItemFilters"=dword:0

Then restart your Hive instance, perform your desired add/delete/rename operation(s), stop your Hive instance, and revert the following registry entry:

[HKEY_LOCAL_MACHINE\SOFTWARE\Prediktor\Apis\ApisHive\Modules] "AutoResolveExternalItemFilters"=dword:1

and finally restart your Hive instance. All external item connections caused by using ExternalItem filters, have now been updated according to the new names.

See also: ExternalItem filters