The ocis package includes the Infinite Scale runtime and commands for the Infinite Scale command-line interface (CLI), which are not bound to a service.
This package also configures the service registry which will be used to look up the service addresses.
Available registries are:
- nats-js-kv (default)
- memory
To configure which registry to use, you have to set the environment variable MICRO_REGISTRY, and for all except memory you also have to set the registry address via MICRO_REGISTRY_ADDRESS.
oCIS will automatically set the go native GOMEMLIMIT to 0.9. To disable the limit set AUTOMEMEMLIMIT=off. For more information take a look at the official Guide to the Go Garbage Collector.
See the dev docs, Service Independent CLI for more details.