GCP App engine multithreading

998 views
Skip to first unread message

Ajinkya Khalwadekar

unread,
Dec 3, 2019, 9:00:05 AM12/3/19
to Google App Engine
Hi,

I am new to GCP. I want to develop a multi-threaded web app and deploy on app engine. While going through some articles I realised that that there are some limitations for a multi-threaded app engine application, can someone please provide me a way ahead on it. If we can develop a multi-threaded application on app engine using java, how about using executor framework?

Thanks in advance.

Ajinkya.

Elliott (Cloud Platform Support)

unread,
Dec 3, 2019, 5:34:46 PM12/3/19
to Google App Engine
Hello Ajinkya,

Can you please share the links to the articles you found? I am told that Java supports concurrent threads. Can you provide an example on how you want to use this feature on Google Cloud Platform? We will need this to provide a good answer for you. 

The Executor framework is not managed by Google. Maybe a post on Stackoverflow would be appropriate.

Lovell Mathews

unread,
Dec 3, 2019, 7:29:18 PM12/3/19
to google-a...@googlegroups.com
I would like to know if we can execute multiple sql statements as a single transaction in bigquery. The sqls would be executed from a java code that would be deployed in the app engine. I am not sure how to implement it since bigquery seems to have implicit commits with each sql. Please advise.

Cheers,
Lovell
--
Sent from Gmail Mobile

Ajinkya Khalwadekar

unread,
Dec 4, 2019, 8:20:46 AM12/4/19
to Google App Engine
Hello Elliott,

Thank you for your quick reply. 

So i want to develop a multi-threaded application, in which each thread makes a call to multiple third party applications and once the data from all these calls is returned I would want to do further processing. Can you please guide me on this?

Thanks,
Ajinkya. 

Elliott (Cloud Platform Support)

unread,
Dec 4, 2019, 5:54:39 PM12/4/19
to Google App Engine
Hello Ajinkya,

Please note that Google Groups are reserved for general Google Cloud Platform and product discussions and not for technical issues, which is why I suggest moving the troubleshooting to Stackoverflow, where you may receive advice from our programming community.

Reply all
Reply to author
Forward
0 new messages