[appengine-java] threadsafe and sessions-enabled

2011-09-04 Thread Anders
If an application has both threadsafe and sessions-enabled set to true, then 
will calls to the session API block so that one frontend instance can only 
execute one such call at a time when there are several threads running?

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/DrIxHS90BRwJ.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



Re: [giannim] [appengine-java] threadsafe and sessions-enabled

2011-09-04 Thread Gianni Mariani
The session API is thread safe. Hence there is no need to single thread
requests.

On Sunday, September 4, 2011, Anders blabl...@gmail.com wrote:
 If an application has both threadsafe and sessions-enabled set to true,
then will calls to the session API block so that one frontend instance can
only execute one such call at a time when there are several threads running?

 --
 You received this message because you are subscribed to the Google Groups
Google App Engine for Java group.
 To view this discussion on the web visit
https://groups.google.com/d/msg/google-appengine-java/-/DrIxHS90BRwJ.
 To post to this group, send email to
google-appengine-java@googlegroups.com.
 To unsubscribe from this group, send email to
google-appengine-java+unsubscr...@googlegroups.com 
google-appengine-java%2bunsubscr...@googlegroups.com.
 For more options, visit this group at
http://groups.google.com/group/google-appengine-java?hl=en.

 --
 You received this message because you are subscribed to the Google Groups
giannim group.
 To post to this group, send email to gian...@google.com.
 To unsubscribe from this group, send email to
giannim+unsubscr...@google.com giannim%2bunsubscr...@google.com.
 For more options, visit this group at
http://groups.google.com/a/google.com/group/giannim/?hl=en.


-- 
Gianni Mariani
Google, Sydney

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



Re: [giannim] [appengine-java] threadsafe and sessions-enabled

2011-09-04 Thread Anders
Ok, good. Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/9BHMnXPUZJkJ.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



Re: [giannim] [appengine-java] threadsafe and sessions-enabled

2011-09-04 Thread Anders
And threadsafe in this case means that the Session API can handle several 
calls to it simultaneously from the same frontend instance? Or will it block 
so that only one thread at a time can access the Session API? Because if it 
blocks then it will become a bottleneck since the threads then have to wait 
on each other when many requests are served simultaneously by one frontend 
instance.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/Wne2t7IdLeEJ.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.