O'Reilly logo

Amazon SimpleDB Developer Guide by Prabhakar Chaganti, Rich Helms

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Parallelizing SimpleDB requests

We can take advantage of the excellent support for concurrency available in SimpleDB by parallelizing our batch requests by multi-threading or using multiple processes to make requests in parallel. There are several different ways of parallelizing our requests using Python. We will look at the different ways of doing this in Python. We will be using the batch operation as an example to illustrate each threading example, but you can apply these principles with any of the SimpleDB operations:

  • Inserting items
  • Deleting items
  • Updating items

Parallelizing SimpleDB requests in Java

Java provides excellent support within the language for running operations concurrently. In this section, we will use the java.util.concurrent ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required