mochi-hpc / mochi-ssg

Scalable Service Groups (SSG), a group membership service for Mochi
Other
1 stars 1 forks source link

Using a specific pool when creating a group #25

Open shanedsnyder opened 3 years ago

shanedsnyder commented 3 years ago

In GitLab by @mdorier on Nov 11, 2020, 08:31

At the moment SSG uses the default pools from the margo instance. Would it be possible to add an ABT_pool pool field in the ssg_group_config structure so that we can use a dedicated pool for SSG RPC handles?

shanedsnyder commented 3 years ago

In GitLab by @shanedsnyder on Nov 17, 2020, 11:29

Yeah, I think that makes perfect sense. Do we imagine a use case for changing the pool associated with a group after group creation? In that case, we'd probably want a function call for it. Otherwise, we can just make it a parameter to the group config, and in cases where it's not set, we can just use the default pool from margo.

shanedsnyder commented 3 years ago

In GitLab by @mdorier on Nov 17, 2020, 12:44

For now it should be a parameter to the group config, just like providers of other services are generally registered with a pool. Changing the pool associated with a provider or an SSG group at run time is a nice idea but probably a long way down the road :-)