otp
otp copied to clipboard
New Feature: Registry
I was wondering about local (and clustered, for that matter) registries so one can have the following features:
- Local discovery of one or more processes
- Global discovery of processes
- Maybe: Management of an agent-pool
Especially with clustered discovery I feel like the compile-time type checking might be problematic because one can't guarantee that the remote side runs exactly the same version and therefore has the same type-details.
A useful feature for sure! One question is how would we type this? Would all the channels held by the registry have to accept the same message type?
That is a wonderful question I thought about as well. I think this would be the logical way this should work, yes.
Maybe something like pg
scopes for different process types?