project-iris / iris

Decentralized cloud messaging
iris.karalabe.com
Other
571 stars 32 forks source link

Client bindings: add support for direct messaging (resource management) #38

Open karalabe opened 10 years ago

karalabe commented 10 years ago

Issue #37 is a prerequisite for this.

Currently Iris supports only group messaging primitives. Although this works for many scenarios, there is a specific use case which is made quite hard and expensive by it. And that is custom resource management.

When an application wishes to use its own custom logic for managing some specific resources, it usually entails an origin doing a search for candidates, and those candidates then contacting the origin out of band for/with the resource. This out of band addressing currently requires the origin to form a unique cluster where it is the only participant, to allow remote nodes to find it.

Two specific scenarios come to mind:


The question is how to achieve this, without making it too easy for users to abuse the concept and introduce single points of failure? Or whether the issue raised could be solved without giving access to direct addresses?