derekkraan / horde

Horde is a distributed Supervisor and Registry backed by DeltaCrdt
MIT License
1.32k stars 106 forks source link

Add optional node metadata #245

Closed sswrk closed 1 year ago

sswrk commented 2 years ago

I think it would be cool to be able to add some extra data to DynamicSupervisor.Member struct as it might be helpful to have some additional info besides name and state. For example, when creating a custom distribution strategy, a member could be chosen by its metadata (for example its region).

sleipnir commented 1 year ago

@sswrk This PR was very interesting