Project

em_s3

0.0
No commit activity in last 3 years
No release in over 3 years
Enables evented access to S3 get and put interface
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Runtime

 Project Readme

S3Interface

This is a general purpose S3 upload/download library using EM::Deferrables which can retry while accessing from S3. Who doesn't want to retry when they get a 5xx from S3?

S3Agent

A serialization framework on top of S3Interface which could possibly occur when you are putting objects in S3 in a reactor loop. Crude but works.

Caveats

  • Doesn't (yet) run the event loop. I developed this when I was working on a Thin based app server. Future versions may have support for running an event loop.
  • Works only for get_object and put_object. More methods coming soon.
  • Do not define errbacks on instances of S3Interface. It uses errbacks to retry and always succeeds and responds with an error code in case of an error.
  • Feel free to fork and modify.