groupme/dynamodb — pull request #2 by daveyeu (2012-12-19 20:51:18+00:00)
Title: Use an HTTP connection pool

Switching to Net::HTTP incurred a large performance hit due to the constant setup of secure connections for every request. This cribs the HTTP connection pool from AWS's official Ruby library, making things a lot faster.

Note though that there are also breaking changes:

1. A `SuccessResponse` object is returned for every operation. We're no longer making a special case for non-item returning ops.

1. Failures don't raise exceptions, they now return `FailureResponse` objects.