views:

56

answers:

1

I have to make a few request to get some data from third party services. As response time from each petition can range from a few seconds to a full minute, I've thinking that would be a good case for implement a multi-thread solution (as seen in this question) but as I haven't used it before, I'm not sure how to implement it.

I have to call 4 services, and each of them with similar parameters. Each of the calls will have a ID wich I must generate and keep associated with the session. Also, I have to display information from the first call of each service.

Wich would be the best aproach? Any advice on sources of information (apart from SO, of course).

Thanks in advance