revaturelabs / rideforce-matching-service

5 stars 2 forks source link

Add multithreading to the ranking algorithm #122

Open RaymondKADuncan opened 6 years ago

RaymondKADuncan commented 6 years ago

As it stands, the ranking algorithm class (com.revature.rideshare.matching.algorithm.AggregateRankingBuilder) executes the ranking algorithm serially. The time it takes to run the algorithm is negligible with the amount of test data we have right now, but in production this could noticeably slow execution. It might be worth adding multi-threading to speed up the process.