# Examples of leader selection

## Example scenario #1 – campus style location

* No local servers
* 500 clients
* Several ethernet networks as well as a single Wi-Fi network
* Blue Leader on each physical network
* Green Leaders on physical network serving Wi-Fi clients
* As Green Leaders are also distributed clients, they will serve Blue Leaders

## Example scenario #2 – small location with few clients

* One physical subnet and one Wi-Fi subnet - so location has two Network Groups
* Wi-Fi is routed separately to ethernet – multi location
* 50 clients
* No BL’s
* No Green Leader
* Two separate Red Leaders downloading separate

Scenarios:&#x20;

* Two subnets in distributed mode with just bridged distributed mode&#x20;
* Two networks, four clients. Two Blue Leaders two client participating.&#x20;

In this case, we have several machines in each subnet. We bridge the probe messages and the probe matches, and also cache some key data. We bridge the Red Leader info first.&#x20;

***

* Two subnets in distributed mode with just bridged distributed mode&#x20;
* Two networks, three clients. Two Blue Leaders. One client requesting.&#x20;

In this case, we have several machines in each subnet. We bridge the probe messages and the probe matches, and also cache some key data. We bridge the Red Leader info first.&#x20;

&#x20;

One client in each network (Green Leader)&#x20;

In this scenario we have two (or more) clients in each network. One of them will get the Green Leader role, and the other connects using Hosted Cache mode. In this case one machine will be hosted cache server (Green Leader) and the other client gets it from the Green Leader. The Green Leader machine itself will be in any mode (distributed, local, hosted cache).&#x20;

1. Single client on single network – Template/Location settings apply.&#x20;
2. Three clients on single network – MC disabled – Hosted cache mode.&#x20;
3. Multiple networks – few clients on each. Hosted Cache mode.&#x20;
4. Multiple networks &#x20;
5. Multiple clients in distributed mode. BL & GL on one machine.&#x20;
6. Few clients on other networks – used single BL & GL&#x20;
7. Multiple networks &#x20;
8. Multiple clients in distributed mode. BL & GL on one machine.&#x20;
9. A bit more than few clients on other networks – used BL on same subnet&#x20;
10. Multiple networks &#x20;
11. Multiple clients in distributed mode. BL & GL on one machine.&#x20;
12. Multiple clients in distributed mode. BL & GL on one machine.&#x20;

&#x20;&#x20;

Blue Leader requesting content logi flow&#x20;

* Allow selection of Green Leaders&#x20;
* Selected Green Leaders becomes Blue Leaders on distributed networks&#x20;
* If we have 2 Wi-Fi networks with a small number of clients and one distributed in the same network group, the Green Leader is on distributed network only&#x20;
* Multiple Green Leaders from subnet&#x20;
* One Blue Leader per subnet&#x20;
* Should we plan for multiple?&#x20;
* Blue Leader stops forwarding requests after 50 clients on subnet&#x20;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://documentation.2pintsoftware.com/stifler/operations-and-features/features-overview/client-leader-roles/examples-of-leader-selection.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
