wasmCloud / wascc-host

Library for hosting actors and capability providers in a host process
Apache License 2.0
201 stars 15 forks source link

Allow a lattice prefix for lattice isolation #81

Closed autodidaddict closed 4 years ago

autodidaddict commented 4 years ago

The subject used by all lattice communication is fixed right now. By allowing a prefix that can be customized via environment variable configuration, we gain the ability to run multiple lattices side-by-side on the same leaf node or even the same loopback adapter. This makes it significantly easier to perform integration tests in multi-threaded fashion but also has potential benefits for multi-tenancy in production and shared developer testing environments.