globus/globus-compute

get_results to use batched status requests

Open

#238 opened on Sep 2, 2020

 (0 comments) (0 reactions) (1 assignee)Python (52 forks)auto 404
enhancementgood first issue

Repository metrics

Stars
 (162 stars)
PR merge metrics
 (PR metrics pending)

Description

Currently we request task status for tasks one at a time when get_results is invoked. We could decouple this by introducing a thread that would do a batched status request for all pending tasks so that we minimize client->funcx-service communication. This would become shared mechanism to introduce a future based system if we want that.

Contributor guide