Componentes.Terceros.RemObj.../internal/5.0.35.741/1/RemObjects SDK for Delphi/Samples/Load Balancing/LoadBalancingGroup.Sample.html
2009-02-28 17:16:16 +00:00

37 lines
1.6 KiB
HTML

<html>
<head>
<link rel="stylesheet" type="text/css" href="..\styles.css">
</head>
<body>
<img src="..\..\ro.png" alt="" align="right">
<!-------------------------------------------------------------------------->
<p class="h1">
<span>LoadBalancing Sample</span>
</p>
<h2>Purpose</h2>
<p>sample demonstrates usage the <b>Load Balancing</b> and <b>Fault Tolerance</b> features.</p>
<h2>Getting Started</h2>
<ul>
<li>Build or compile both projects.</li>
<li>Launch the four servers (via the menu option: <strong>RemObjects | Launch Server Executable</strong>)
and activate different servers, e.g. Alfa Server for 1st server, Beta Server for 2nd server, etc.</li>
<li>Ensure that LoadBalancingClient is the selected project and run it.</li>
<li>Check that the client works as expected.</li>
<ul>
<li>Fault tolerance. Deactivate some servers and check that client use anothe active server to perfom calculation.</li>
<li>Load balance. Check that next service call will be performed by another active server.</li>
<li>Server probing. Toggle server activity and perform server probing to include/exclude server from using by client.</li>
</ul>
</ul>
<h2>Examine the Code</h2>
<ul>
<li>Look for examples of using properties&nbsp; of the channel coresponding to <b>Load Balancing</b> and <b>Fault Tolerance </b>: <span style="font-weight: bold;">DispatchOptions</span>, <span style="font-weight: bold;">ProbeServers</span>, <span style="font-weight: bold;">ProbeFrequency</span> and especially <span style="font-weight: bold;">ServerLocators.</span></li>
</ul>
</body></html>