<p>spend some time on this and IMHO the proof of concept turned out even better than I expected.</p>
<h1>TL;DR</h1>
<p>IMO pretty good results. As expected, they are not spot on, but they certainly are close enough for our purposes.<br>
Will proceed on simulating a more dynamic network where nodes come and go.</p>
<h1>Setup</h1>
<p>I created a simulation environment as follows:</p>
<p><a target="_blank" rel="noopener noreferrer" href="https://user-images.githubusercontent.com/1070734/73361640-a09e7e00-42a5-11ea-8005-cc49ddb5bcc4.png"><img src="https://user-images.githubusercontent.com/1070734/73361640-a09e7e00-42a5-11ea-8005-cc49ddb5bcc4.png" alt="Screenshot from 2020-01-29 14-36-10" style="max-width:100%;"></a></p>
<ul>
<li><em>Bisq Simulator</em>: queries the API of the price node just as a full Bisq client does, except
<ul>
<li>query every 2 seconds (instead of 60)</li>
<li>only provide the Bisq version information (instread of bisq version + uid of the http client)</li>
</ul>
</li>
<li><em>Sim Controller</em>: can spawn lots of <em>Bisq Simulators</em></li>
<li><em>Bisq Pricenode</em>: run from master (removed BTCAverage though)</li>
<li><em>Scraper</em>: the Device Under Test and thus, the prototype of the whole metric.
<ul>
<li>a shell script</li>
<li>utilizes grep, cut, sed and tail</li>
<li>runs every 21 seconds</li>
</ul>
</li>
</ul>
<h1>Results</h1>
<p>I spawned 50 <em>Bisq Simulators</em>, ie. the exact number of Bisq clients up and running in the network is 50.</p>
<p>I let the <em>Scraper</em> do its job for approx. 3 minutes and recorded every result. This is what the metric got by scraping the price node logs:<br>
<a target="_blank" rel="noopener noreferrer" href="https://user-images.githubusercontent.com/1070734/73362961-160b4e00-42a8-11ea-9ac1-305ee7960a52.png"><img src="https://user-images.githubusercontent.com/1070734/73362961-160b4e00-42a8-11ea-9ac1-305ee7960a52.png" alt="Screenshot from 2020-01-29 14-57-09" style="max-width:100%;"></a></p>
<p>Furthermore, the <em>Scraper</em> extracts the Bisq version spread. My <em>Sim Controller</em> randomly fired up these <em>Bisq Simulator</em> instances:</p>
<table>
<thead>
<tr>
<th>Version</th>
<th>Instance count</th>
</tr>
</thead>
<tbody>
<tr>
<td>v1.2.1</td>
<td>6</td>
</tr>
<tr>
<td>v1.2.2</td>
<td>14</td>
</tr>
<tr>
<td>v1.2.3</td>
<td>7</td>
</tr>
<tr>
<td>v1.2.4</td>
<td>9</td>
</tr>
<tr>
<td>v1.2.5</td>
<td>14</td>
</tr>
</tbody>
</table>
<p>with these results:</p>
<p><a target="_blank" rel="noopener noreferrer" href="https://user-images.githubusercontent.com/1070734/73361606-8cf31780-42a5-11ea-8899-cdba863666ce.png"><img src="https://user-images.githubusercontent.com/1070734/73361606-8cf31780-42a5-11ea-8899-cdba863666ce.png" alt="Screenshot from 2020-01-29 14-37-42" style="max-width:100%;"></a></p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/bisq-network/bisq/issues/3916?email_source=notifications&email_token=AJFFTNV52DXGAB2W4W7YZILRAGE5LA5CNFSM4KKXYX42YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKHJ5WQ#issuecomment-579772122">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AJFFTNWHQFLQ6ACJMX2JRFLRAGE5LANCNFSM4KKXYX4Q">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AJFFTNSEHYGKN3GTPL5WYC3RAGE5LA5CNFSM4KKXYX42YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKHJ5WQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/bisq-network/bisq/issues/3916?email_source=notifications\u0026email_token=AJFFTNV52DXGAB2W4W7YZILRAGE5LA5CNFSM4KKXYX42YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKHJ5WQ#issuecomment-579772122",
"url": "https://github.com/bisq-network/bisq/issues/3916?email_source=notifications\u0026email_token=AJFFTNV52DXGAB2W4W7YZILRAGE5LA5CNFSM4KKXYX42YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKHJ5WQ#issuecomment-579772122",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>