JavaScript is required to use Bungie.net

OffTopic

Surf a Flood of random discussion.
originally posted in:BungieNetPlatform
12/11/2015 9:35:41 AM
2

Best way to send http requests in parallel in python?

I am writing an application that sends about 150 requests in serial and it takes too long. Is there a way I can parallelize this? (I am working in python 2.7)

Posting in language:

 

Play nice. Take a minute to review our Code of Conduct before submitting your post. Cancel Edit Create Fireteam Post

View Entire Topic
  • Well, i would recommend asking this question in a more proper forum like StackOverFlow or something like that. I say this not because noone here could help you, but, because this forum is normally use to talk about things related to the API that Bungie provides, and not about programming itself. The only thing i would say is, check what you are requesting, see if there anything that you actually don't need to request, and get ride of it, after that, check what request actually need to be done synchronous, and from the remaining request send them to a threadpool or what ever is the equivalent of that in Python.

    Posting in language:

     

    Play nice. Take a minute to review our Code of Conduct before submitting your post. Cancel Edit Create Fireteam Post

You are not allowed to view this content.
;
preload icon
preload icon
preload icon