Amazon SimpleDB Developer Guide by Prabhakar Chaganti, Rich Helms

By Prabhakar Chaganti, Rich Helms

Scale your application's database at the cloud utilizing Amazon SimpleDB

  • Offload the time, attempt, and capital linked to architecting and working an easy, versatile, and scalable net database
  • A whole consultant that covers every little thing from set up to complex positive factors geared toward optimizing your application
  • Examine SimpleDB and the relational database version and evaluation the easy DB info model
  • Packed with examples in Java, personal home page, and Python and screenshots to demonstrate key innovations permitting you to concentration program development

In element

SimpleDB is a hugely scalable, simple-to-use, and cheap database within the cloud from Amazon internet prone. yet with a purpose to use SimpleDB, you actually need to switch your attitude. this is not a standard relational database; actually it isn't relational in any respect. For builders who've event operating with relational databases, this can result in misconceptions as to how SimpleDB works.

This sensible publication goals to deal with your preconceptions on how SimpleDB will give you the results you want. you may be speedy led in the course of the ameliorations among relational databases and SimpleDB, and the results of utilizing SimpleDB. all through this booklet, there's an emphasis on demonstrating key innovations with sensible examples for Java, personal home page, and Python developers.

You may be brought to this hugely scalable schema-less key-value info shop: what it truly is, the way it works, and why it truly is one of these game-changer. you'll then discover the elemental performance provided by means of SimpleDB together with querying, code samples, and much more. This e-book may also help you set up companies open air the Amazon cloud and entry them from any net host.

You will see how SimpleDB grants the liberty to target program improvement. As you're employed via this e-book it is possible for you to to optimize the functionality of your purposes utilizing parallel operations, caching with memcache, asynchronous operations, and more.

Gain in-depth realizing of Amazon SimpleDB with Hypertext Preprocessor, Java, and Python examples, and run optimized database-backed functions on Amazon's net providers cloud

What you'll study from this booklet

  • Explore numerous SimpleDB operations with the easy-to-use Boto library on Java, personal home page, and Python consoles
  • Encode and decode a variety of facts varieties into string info utilizing Lexicographical comparability with certain instructions
  • Query, kind, and count number facts utilizing choose syntax
  • Store huge binary gadgets in Amazon S3 whereas utilizing SimpleDB because the metadata store
  • Tune SimpleDB queries utilizing the field utilization value
  • Avoid over the top SimpleDB requests by utilizing a cache
  • Optimize your application's functionality utilizing parallel operations


This e-book is a realistic real-world instructional protecting every thing you want to learn about Amazon SimpleDB. you are going to stumble upon examples in 3 languages: Java, personal home page, and Python. This booklet is geared toward reworking you from a newbie to a sophisticated developer.

Who this publication is written for

If you're a developer desirous to construct scalable web-based database purposes utilizing SimpleDB, then this publication is for you. you don't need to grasp whatever approximately SimpleDB to learn and study from this e-book, and no easy wisdom is exactly worthwhile. This consultant may also help you to begin from scratch and construct complicated applications.

Show description

Read Online or Download Amazon SimpleDB Developer Guide PDF

Similar databases books

MySQL Cookbook

MySQL Cookbook offers a distinct problem-and-solution structure that gives useful examples for daily programming dilemmas. for each challenge addressed within the publication, there is a worked-out answer or "recipe" - brief, centred items of code so you might insert at once into your functions. greater than a suite of cut-and-paste code, this publication rationalization how and why the code works, so that you can discover ways to adapt the innovations to related occasions.

The Lotus Sutra

Because it first seemed in China within the 3rd century, this Mahayana Buddhist Scripture has been considered as essentially the most illustrious within the canon. Depicting occasions in a cosmic international that transcends usual techniques of time and house, The Lotus Sutra provides summary spiritual principles in concrete phrases and affirms that there's a unmarried route to enlightenment.

Extra info for Amazon SimpleDB Developer Guide

Sample text

A join is an operation that allows you to retrieve the data back easily across the multiple tables. Let's first normalize this data. This is the Person_Info table: ID First_Name Last_Name 101 John Smith 102 Bill Jones And this is the Phone_Info table: ID Phone_Num 101 555-845-7854 101 555-854-9885 101 555-695-7485 102 555-748-7854 102 555-874-8654 Now a join of the Person_Info table with the Phone_Info can retrieve the list of phone numbers as well as the e-mail addresses. The table structure is clean and other than the ID primary key, no data is duplicated.

Deleting a domain with PHP Finally, you delete a domain by specifying its name. Once you delete a domain, the data is gone forever. So use caution when deleting a domain! $domain = "cars"; $sdb->deleteDomain($domain); Basic operations with Python Prabhakar Chaganti: "My personal preference is for the Python library—boto, which has a very nicely designed interface and a great community of users". Python is an elegant, open source, object-oriented programming language that is great for rapid application development.

Build 5465)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> >>> import boto Exploring SimpleDB with Python We will now use the installed and configured boto library to run some basic operations in SimpleDB using the Python console. This will quickly get you familiar with both boto and various SimpleDB operations. Boto will use the environment variable for the Access Keys that we set up in the previous section for connecting to SimpleDB. We first create a connection to SimpleDB.

Download PDF sample

Rated 4.02 of 5 – based on 35 votes