Re: [google-appengine] Re: Is Datastore lookup-by-key strongly consistent when write is done in Python module and read is done in Java module?

2016-11-01 Thread Jeff Schnitzer
Users are clever and insidious when it comes to breaking software. If you aren’t using a transaction in a get/update/put cycle, there are all manner of ways that updates could get screwed up or lost. Consider that requests might be sitting for many seconds at a cold start and therefore come in out

Re: [google-appengine] Re: Is Datastore lookup-by-key strongly consistent when write is done in Python module and read is done in Java module?

2016-11-01 Thread Jonathan Munson
Good thought, but in this case only one user can update the entity. On Tuesday, November 1, 2016 at 6:13:13 PM UTC-4, pdknsk wrote: > > If more than one user can update the same entity, the bug may be that > you're not updating the entity atomically (as in a transaction). > -- You received

Re: [google-appengine] Re: Is Datastore lookup-by-key strongly consistent when write is done in Python module and read is done in Java module?

2016-11-01 Thread pdknsk
If more than one user can update the same entity, the bug may be that you're not updating the entity atomically (as in a transaction). -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving

Re: [google-appengine] Re: Is Datastore lookup-by-key strongly consistent when write is done in Python module and read is done in Java module?

2016-11-01 Thread Jonathan Munson
Nope, not using transactions. On the Python side, we read the entity, update a few of its properties, put(), then return to the browser, which then invokes a request on a Java servlet, which reads the entity using lookup-by-key. Thanks Chad, thanks Jeff. I'm going to do that versioning scheme

Re: [google-appengine] Channel API alternatives

2016-11-01 Thread 'Jordan (Cloud Platform Support)' via Google App Engine
Hey Zachary, You are correct that we always try to offer a Free Quota for our services, along with the Free Trial credit. In depth pricing information and estimates for each of our products and services can be seen using our Pricing Guide . Information on

Re: [google-appengine] Configuring app.yaml to use PHP (5.5) and Python (2.7) in the same project

2016-11-01 Thread 'Alex Martelli' via Google App Engine
To use multiple languages in an App Engine app, you must deploy them as separate services (once known as modules), each with its own .yaml configuration file. app.yaml configures the default service, which doesn't get named; each other .yaml configures a separate service and is typically named,

[google-appengine] Configuring app.yaml to use PHP (5.5) and Python (2.7) in the same project

2016-11-01 Thread Michael Dorfman
I have experience with configuring an app.yaml file for a php app, however I was hoping to add some python scripts into my app. What type of setup in the app.yaml file is required to do this? I know the runtime variable I want for python (python27) and php (php55), but I'm not sure if I can

Re: [google-appengine] Re: Channel API alternatives

2016-11-01 Thread 'Jordan (Cloud Platform Support)' via Google App Engine
Google Cloud Pub/Sub makes use of Topics and Subscribers. Publishers post messages to a Topic, and the message is either Pushed or Pulled to/by the Subscribers

Re: [google-appengine] Re: Is Datastore lookup-by-key strongly consistent when write is done in Python module and read is done in Java module?

2016-11-01 Thread Chad Vincent
Then no, you aren't caching on the Java side. Are you (or NDB) using transactions? If so, then make sure you schedule your hand-off to Java after the transaction has committed? On Monday, October 31, 2016 at 10:54:28 PM UTC-5, Jonathan Munson wrote: > > I don't believe I use Objectify, unless

Re: [google-appengine] Channel API alternatives

2016-11-01 Thread Zachary Yaro
Jordan, Is there a pricing comparison anywhere for those different options? As an independent developer, I appreciated that the Channel API had a free quota I could use during smaller-scale testing so my App Engine resources were not cutting into my budget prior to launch. Thank you, Zachary

Re: [google-appengine] Re: Channel API alternatives

2016-11-01 Thread PK
Thanks Jordan. How were you thinking that pubsub will work all the way out to the browsers? Thanks, PK p...@gae123.com PS I could write a lot about the first two sentences of your response but I will skip it. I will just say that it is ironic that a low usage platform like GCP makes such bold

[google-appengine] Re: service account auth to Calendar API stopped working Oct 20

2016-11-01 Thread 'George (Cloud Platform Support)' via Google App Engine
Hello Eric! For your new service accounts, your code imports credentials from a stored JSON file, which is one of the possible alternatives, all of which should work well. How did you grant domain-wide access to your service account, exactly? Did you then implement the OAuth2WebServerFlow

[google-appengine] Re: Google Drive API - Get the id of a file when Insert - Python

2016-11-01 Thread 'Alex (Cloud Platform Support)' via Google App Engine
Hi there, Assuming you have provided the right Authorization Scope to access the Google Drive API, here is a method(adapted from this link ) to retrieve the

[google-appengine] Re: Channel API alternatives

2016-11-01 Thread 'Jordan (Cloud Platform Support)' via Google App Engine
Our goal is to continue to do a better job of delivering reliable, performant, and full featured services. This means deprecating those APIs that have little to zero usage on our system to free up resources for newer, better performing products. The Channel API

[google-appengine] Getting class not found exception in POST method

2016-11-01 Thread Sucheta Mandal
I am getting this below exception when trying to to use post method with json body. WARNING: Error for /cmpe281SuchetaMandal/rest/employee/ java.lang.NoClassDefFoundError: com/google/appengine/repackaged/org/codehaus/jackson/xc/JaxbAnnotationIntrospector at