Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Amazon SimpleDB Developer Guide
  • Table Of Contents Toc
Amazon SimpleDB Developer Guide

Amazon SimpleDB Developer Guide

By : Prabhakar Chaganti, Rich Helms
3.5 (2)
close
close
Amazon SimpleDB Developer Guide

Amazon SimpleDB Developer Guide

3.5 (2)
By: Prabhakar Chaganti, Rich Helms

Overview of this book

SimpleDB is a highly scalable, simple-to-use, and inexpensive database in the cloud from Amazon Web Services. But in order to use SimpleDB, you really have to change your mindset. This isn't a traditional relational database; in fact it's not relational at all. For developers who have experience working with relational databases, this may lead to misconceptions as to how SimpleDB works.This practical book aims to address your preconceptions on how SimpleDB will work for you. You will be quickly led through the differences between relational databases and SimpleDB, and the implications of using SimpleDB. Throughout this book, there is an emphasis on demonstrating key concepts with practical examples for Java, PHP, and Python developers.You will be introduced to this massively scalable schema-less key-value data store: what it is, how it works, and why it is such a game-changer. You will then explore the basic functionality offered by SimpleDB including querying, code samples, and a lot more. This book will help you deploy services outside the Amazon cloud and access them from any web host.You will see how SimpleDB gives you the freedom to focus on application development. As you work through this book you will be able to optimize the performance of your applications using parallel operations, caching with memcache, asynchronous operations, and more.
Table of Contents (16 chapters)
close
close
Amazon SimpleDB Developer Guide
Credits
Foreword
About the Authors
About the Reviewers
Preface

Installing memcached client


We need a client library to connect to the memcached server and store and retrieve data. In this section we will install memcached clients for Java, PHP, and Python.

Memcached client in Java

The best available client in Java is named java_memcached, and was created by Greg Whalin. It is currently hosted on GitHub at http://github.com/gwhalin/Memcached-Java-Client. Download the latest version of this library from http://github.com/gwhalin/Memcached-Java-Client/downloads. The most current version at the time of writing this chapter is 2.5.0. Unzip the distribution to the directory of choice. Copy the JAR file named java_memcached-release_2.5.0.jar to a folder that is on your classpath. You are now ready to start using this library to interact with our memcached server.

Memcached client in PHP

There are two available clients in PHP: pecl/memcache (http://pecl.php.net/package/memcache) and pecl/memcached (http://pecl.php.net/package/memcached). The first, pecl/memcache...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Amazon SimpleDB Developer Guide
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon