The bottom line is - S3 is best suited for server-side programming and Atompub is best for client-side interaction. This does not mean that the converse is disallowed, but, at least in the case of S3, a number of issues will render it unsuitable.
I will highlight a few differences between S3 and Atompub:
- Various Amazon proprietary headers, data formats, URL templates, and operations are required in S3's REST API. Atom does not require any new headers (one new optional header is defined in Atompub), and all the formats and operations are public standards in heavy use on the Internet.
- S3 requires clients to mint URIs on their own following a template.
- This means that the server cannot change without breaking clients.
- This means that one user can easily overwrite another's data since they could each mint the same URLs when creating new data.
- The S3 API does not provide a means of retrieving or changing metadata of objects.
- S3 does not handle any concurrency - it allows arbitrary writes to win.
Benefits of using Atompub over S3
- No need to create new metadata vocabularies - just build on Atom and related efforts (such as Geo RSS, Dublin Core, etc.)
- Standard dumb-proof techniques for retrieving and manipulating individual items and their metadata, operating on lists of items including paging and
- Atompub uses HTTP conditional updates to control concurrent updates


0 comments:
Post a Comment