Probability, Statistics, Distributed Systems, Software Engineering, Interview Questions.
servers which is serving less self.neg += x self.pos += 1-x def experiment(requests, num_trials=5000): servers = [] # Since we want to direct new requests to servers with lower number # of existing requests, hence we use the requests for each server # as the negative parameter in the beta