Using ThreadManager

57 views
Skip to first unread message

Deepak Singh

unread,
Oct 19, 2012, 11:08:27 AM10/19/12
to google-a...@googlegroups.com
Hi,

I have a situation like mentioned below:

I am building an app GWT + GAE for online hotel booking.

I make an ajax call to my server.
My server has to hit 3 web services running on different-different servers. Each of them takes few seconds to return the response.
If i hit them one-by-one, it takes a lot of time to gather all results, merge them and process ahead.
So i am planning to handle them by using threads as announced in GAE 1.7.2. 

Is this a right decision or there anything else which i can do ?

If Yes, then how will session will come into picture here and what else do i need to do to handle session with thread ?


Thanks
Deepak

Deepak Singh

unread,
Oct 20, 2012, 10:50:26 AM10/20/12
to google-a...@googlegroups.com
Any response ????
--
Deepak Singh

Guido van Rossum

unread,
Oct 20, 2012, 5:36:31 PM10/20/12
to google-a...@googlegroups.com
No need for threads. Use the async urlfetch API instead.
Reply all
Reply to author
Forward
0 new messages