App Engine's ThreadManager API 
<https://cloud.google.com/appengine/docs/standard/java/javadoc/com/google/appengine/api/ThreadManager#top_of_page>
 
will throw a java.lang.IllegalStateException if you try to use it to create 
more than 50 threads in a single request. You could have as many requests 
as you would like to, but you should handle them in a way that each request 
only creates up to 50 concurrent App Engine API request threads.

Background threads 
<https://cloud.google.com/appengine/docs/flexible/java/migrating#background_threads>
 
are the threads that live outside of the request environment and based on 
the documentation, the maximum number of concurrent background threads 
created by the App Engine API is 10 per instance, not per request.

For obtaining the user’s profile, it is on your preference. You could use 
either simple a request or a task queue or thread based on your 
application’s requirements.


-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/4c61230b-751d-4728-9a7f-f96f26aa38c0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • [google-appengin... Johann Blake
    • [google-app... 'Katayoon (Cloud Platform Support)' via Google App Engine

Reply via email to