Question: The developers at Amazon are working on optimbing their database query ores. There are nhosi servers, where the throughput of the ( f ^

The developers at Amazon are working on optimbing their database query ores. There are nhosi servers, where the throughput of the \( f^{\text {th }}\) hast server is given by hast whroughputg?
These host servers are grouped inso cluvers of side three. The throughput of a cluster, denoted as cluster throughout is defined as the median of the host, throughoul value: bet the three servers in the cluster. Each host server can be part of ar most one custer, and some servers moy remain urused.
Then tocal system throughput, called systam, throsghout, is che sum of the throughputs of al the cluciers formed. The tank is to find the maxmum fossible syacme throughpu:
Note The medan of a clusere of three host swevers is the throughput of the and server when the three throughputs are ported in ether nysending or Gestending proder.
Example
\[
n-5
\]
hast througriout \(=[2,3,4,4]\)
The macomut number of chasters that can bs formand is 1, and twa haw severs will remal- unused.
Frus. the system troughipurfor al chastera will be 4.
Runction Description
Daturns
Constraints
-\(14\mathrm{se}\times 2=10^{\circ}\)
The developers at Amazon are working on optimbing

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!