The reputation algorithm to compute trust rates is run in parallel using different threads to optimize efficiency. For the calculation of IT value, where two users are not direct friends, but they share a common chain of friendship, and each partial degree of friendship between direct friends is calculated in a different thread.