<div dir="ltr">Hi Katherine,<div dir="ltr"><br><div><br><div class="gmail_quote"><div dir="ltr">On Tue, 16 Feb 2016 at 18:20 Katherine Cox-Buday <<a href="mailto:katherine.cox-buday@canonical.com" target="_blank">katherine.cox-buday@canonical.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<font size="-1">
The team is looking closely at some of our CLI surrounding
resources, and an interesting question came up: should units be
considered homogeneous?<br>
<br>
My understanding is that it's a goal to make the management of
units more consistent, and making the units more homogeneous would
support this, but I'm wondering from a workload perspective if
this is also true? One example I could think of to support the
discussion is a unit being elected leader and thus taking a
different path through it's workflow than the other units. When it
comes to resources, maybe this means it pulls a different sub-set
of the declared resources, or maybe doesn't pull resources at all
(e.g. it's coordinating the rest of the units or something).<br></font></div></blockquote><div><br></div><div>Yes, as a concrete example the Landscape charm[0], does just that and runs different Landscape services on different units, using the leader to decide what goes where. The units are heterogeneous and under the control of the charm.<br><br></div><div>Cheers,<br><br></div><div>Adam<br></div><div> </div>[0] <a href="https://jujucharms.com/landscape-server/trusty/">https://jujucharms.com/landscape-server/trusty/</a><br></div></div></div></div>