Asynchronous Deployment With Java AppEngine SDK

35 views
Skip to first unread message

Andrew Teall

unread,
Feb 22, 2016, 11:31:09 AM2/22/16
to Google App Engine
Hi,
We're trying to deploy multiple modules and managed VMs using the Java AppEngine SDK. We are currently using a script with a  for loop that backgrounds each call to the appcfg.sh and waiting 30 seconds between starting each deploy. However we see 409 conflicts pretty often. Is there a better way to accomplish this or does anyone have any experience getting this to work with 100% success.

Thanks,
Andrew

Nick (Cloud Platform Support)

unread,
Feb 22, 2016, 7:16:34 PM2/22/16
to Google App Engine
Hey Andrew,

You'll need to wait until the previous deployment completes. In most scripting languages, it would be a matter of explicitly making your calls asynchronous in order to even run into this 409 error. Are you perhaps using NodeJS, which is a somewhat asynchronous language often used for scripting?

Best wishes,

Nick
Reply all
Reply to author
Forward
0 new messages