Click here to Skip to main content
16,016,678 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
Greetings ,

I have different paragraphs saved as xml files and I need to send them to OpenCalais to get the tags for the texts. Sending the texts one at a time takes a lot of time. Is there a way I can send multiple texts at the same time and fetch the tags. Any Multithreaded solution or something ?
Posted
Comments
Sergey Alexandrovich Kryukov 26-Feb-15 10:34am    
There is no such thing as "simultaneously" in the nature. What, you don't know the special theory of relativity?
What prevents you from sending several requests in parallel? But first, think what should it give you...
—SA
[no name] 26-Feb-15 11:05am    
Take a look here:
http://www.codeproject.com/Articles/26148/Beginners-Guide-to-Threading-in-NET-Part-of-n

Javascript runs on single thread. so there is no way to have simultaneous request. Rather,

you can send ajax requests with anync: true. and set a callback for each request.

hope this will help.
 
Share this answer
 
Comments
Zoltán Zörgő 1-Mar-15 15:24pm    
Where did you see Javascript written?
mmdullah 2-Mar-15 2:37am    
oops.... I have not go through the description properly.... I thought it is all about web project.. sorry for my mistake

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900