Hello,

 

In this blog post here

 

 <http://adwordsapi.blogspot.com/2011_10_01_archive.html>
http://adwordsapi.blogspot.com/2011_10_01_archive.html

 

there is a statement saying

 

"We recommend requesting no more than 10 reports concurrently and to use one
thread for each concurrent download"

 

What does it mean "to use one thread for each concurrent download"?

 

This is somewhat unclear.

 

*       Does it mean we (clients) need to use one single/separate thread for
all downloads (although requesting report may be performed from multiple
threads)?

 

*       Does it mean we can use multiple threads for downloading but that
e.g. the downloading block of code should be guarded by a mutex (binary
semaphore)?

 

Unless I am missing something, in the reference Java implementation neither
the former nor the latter strategy is implemented.

Te method ReportDownloader.downloadReport is called from the multiple
threads spawned by the ExecutorService in the main class.

 

Regards,

Peter

 

 

 

 

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

Reply via email to