possible unification of machine and protocol
- 主要语言
- TypeScript
- 星标
- 8
- 派生
- 2
- PR 合并指标
- 30 天内没有已合并 PR
描述
Well-formed machines are projections of a swarm protocol whose transition structure depends only on the event types, not on the concrete event properties. This means that a machine could also be presented as tracking a swarm protocol from the perspective of a given role, yielding
1. a state name
2. the sequence of events accepted so far
3. the commands currently enabled
Without tracking the state’s properties, invoking a command would involve retrieving necessary information from the sequence of accepted events and constructing the new events using that information. In this scenario, a swarm protocol could be deployed as a running AQL query, even across Actyx nodes, as a piece of logic that is evaluated outside the application’s programming language.
---
It would in this case be helpful to also persist and disseminate the schema for each event type in this protocol, so that Actyx can reject invalid command invocations. Together with the swarm protocol and role subscriptions this would form a complete, shareable package, referenced by CID.
贡献指南
这个仓库没有索引到贡献指南
调研方向
No files, tests, or entry points are named. Start by reviewing the existing machine, swarm protocol, role subscription, and event-schema concepts in the repository, then determine whether the proposed unified representation has an agreed design. Done is not defined beyond a possible shareable package containing protocol, subscriptions, and event schemas.
由索引模型根据 Issue 内容生成。
评估
- 领域
- backend-api-design, distributed-systems
- Issue 类型
- 功能
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 15/100