Since you control what is in your code, you can control whether all entity put / update events also then trigger any code you want to run. From such a high level description, there are many possible implementations.
You could use any number of persistence layers for various languages which support such as JPA <http://www.objectdb.com/java/jpa/persistence/event>, JDO <http://www.datanucleus.org/products/datanucleus/jdo/object_lifecycle.html> (Java), NDB Model "Hook Methods" <https://cloud.google.com/appengine/docs/python/ndb/modelclass> (python), or if using the Cloud Datastore REST API <https://cloud.google.com/datastore/docs/apis/v1beta2/> or an appengine language-runtime API directly <https://cloud.google.com/appengine/docs/go/datastore/reference>, you can simply be sure to put the relevant function calls wherever you also have a post/put or update. There are many services on the platform which might be of use to you in further exploring message passing patterns and logical flow relating to databases that you build: Datastore Transactions <https://cloud.google.com/datastore/docs/concepts/transactions> Push <https://cloud.google.com/appengine/docs/python/taskqueue/overview-push> / Pull <https://cloud.google.com/appengine/docs/python/taskqueue/overview-pull> Queues Cloud Pub/Sub <https://cloud.google.com/pubsub/> On Friday, February 26, 2016 at 12:20:50 PM UTC-5, jackson wang wrote: > > After days of frustration with AWS, I decided to try out Google App > Engine. However, I'm not sure what I can do to have a backend function that > gets triggered to run a full text search algorithm in the database. When > new data is added to the database, I want this function to be invoked and > do a search action in the database, then send notifications according to > the search result. > > > What I want to do is like Parse Cloud Code, or AWS Lambda + S3. > > > Please help, I'm desperate, any suggestions would be highly appreciated. > -- 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/c09d7acd-b6c0-4882-afec-abc1f4fefbe8%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
