Note that you can't directly call code between modules. Effectively, you "call" from one module to the other with urlfetch (e.g., taskqueue).
App Engine is a distributed computing platform. Every time you flip versions, you have multiple versions in flight for some unknown period of time. This is business as usual and your app needs to allow for that. Modules is no different. j On Sunday, 12 October 2014 00:48:05 UTC-6, Kaan Soral wrote: > > The conversion was very smooth, I only added one dispatch entry and > modified my defer wrapper to set target's to the new background module > > *One very serious issue, correct me if I'm wrong* > It seems there is no way to upload modules in a transaction, they are > uploaded one after another, this creates a temporary code discrepancy, > which might cause serious and confusing issues, once appengine rolled back > to previous deployments as a bug, and I remember how confusing it was at > first, this might creates issues like that if one isn't always on the watch > > If you are uploading module1 and module2, which depend on each other and > share the codebase, if you deploy something that will be used in the first > 30 seconds, your app will probably fail, data/states/requests might be lost > or malformed during this stage > It could be much much worse if module2 fails to deploy, and the gap > increases to minutes instead > > One workaround is to always increase versions and bump up to the new > versions after deployment, which would be a huge burden (even in that > method, there will be seconds/milliseconds of gaps) > > If I'm not mistaken, I think it might be a good idea to create an issue > about this and urge the deployment routine to be improved > -- 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 http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/d/optout.
