-
Notifications
You must be signed in to change notification settings - Fork 138
Description
in our system, we have processes that are not dynamically scaled, and others that are dynamically scaled.
processes which run tasks that do not scale on demand can therefore restart less, and can have different caching rules as they know their caches are longer lived.
processes which run tasks that do scale on demand are dynamically scaled up to meet demand, and so they often restart multiple times a day during traffic spikes.
it would be great if we could make it so that our dynamically scaled processes don't participate in leader election, and always assume they are slaves. This would result in less points in time where we lose our leader and need to do re-election.
ultimately, it would be nice to provide our own election mechanism, as we could then deduplicate some work, and also provide custom election mechanisms like "always-follower" for our dynamically scaled processes.