Every time an athlete uploads an activity to Strava, the server analyzes the activity and calculates…