Albert
Albert

Reputation: 3651

AppEngine Datastore Asynchronous put

In http://blog.notdot.net/2010/09/Under-the-hood-with-App-Engine-APIs, it explains how you can perform an asynchronous datastore get request. I want to perform an asynchronous put request.

How do I do that?

Thanks!

Upvotes: 1

Views: 482

Answers (2)

Amir
Amir

Reputation: 4151

As of GAE 1.5.0 there is 'put_async'.

Upvotes: 3

Nick Johnson
Nick Johnson

Reputation: 101149

Your best option for doing asynchronous calls to the datastore at the moment is to use Guido's experimental NDB project, which is a reworking of the App Engine datastore API to support asynchronicity.

My blog post was intended to be instrucitonal, but not as a template for something to do directly - reaching down to that level of the code to do asynchronous requests is likely to be very involved and awkward, and you're much better using a library that does it for you, like NDB.

Upvotes: 1

Related Questions