NUDelta / pair-research-meteor

A Meteor Implementation of the Pair Research Tool
3 stars 2 forks source link

Sped up the time for entering pair research tasks by removing "popular tasks" feature #59

Closed youralien closed 2 years ago

youralien commented 2 years ago

Summary: Delays in pair research were observed in #37, and we found that that a feature for showing "popular tasks" as you enter pair research was causing these large delays.

Specifically, this feature subscribes to task history and computes in the client some keywords about what people are working on. This request for data can cause major latency.

To fix this, I commented out the subscriptions to task history, and commented out the feature for computing popular tasks.

Testing: The results are that entering the pool is much faster, and less data is being sent over DDP subscriptions.
Also, we made sure the task history has updated on the DB, despite the subscription to task history being commented out.