Embed
Email

web2.0_storageservice

Document Sample

Categories
Tags
Stats
views:
0
posted:
11/4/2011
language:
English
pages:
3
Architecture

Zhenhua Guo

Jul 23 2007









broker/proxy Amazon S3

request

Web-based receive request adapter



adapter GFS

Interface execute request

adapter

response

send response











Stub functions

Some common API stub functions are defined at broker/proxy above. For example:



createFile



closeFile No concrete implementation now.

Actually just pointers to the

deleteFile

implementation in adapters

renameFile







renameFile









Adapters

For every backend file system ( Amazon S3, or GFS or others ), there is a corresponding adapter.

The adapter implements all the stub functions by using methods specific to that file system.

adapter1 Amazon S3

createFile

closeFile

deleteFile

request our API stubs renameFile



createFile renameFile

closeFile

adapter2

deleteFile

createFile

dispatcher renameFile closeFile GFS

… deleteFile

renameFile

response renameFile …

renameFile









Procedure to Use a new file system:

(1) reset the API stub functions

(2) register the stub function implementation of the new file system



Several storage services can be used simultaneously.





Problems:

(1) Different storage services provide different functionality, how to define APIs which are

common to most services?

(2) Format of messages used to carry request and response.

I prefer XML. Maybe messages of RPC can be consulted. JSON? Or others?





Next Step:

(1) Define detailed requirement specification.

(2) According to our requirements, define UI components and stub functions.

Requirements

Basic Objects:

File

Directory

Functionality:

add/remove/edit tags of a certain object

rate a certain object

favorite a certain object

permission settings of a certain object

generate RSS/Atom feeds

Problems:

How to store additional information except objects themselves?



Other docs by Stariya Js @ B...
Info pack - Level 1
Views: 0  |  Downloads: 0
f1098746053
Views: 0  |  Downloads: 0
file_116
Views: 3  |  Downloads: 0
Trade
Views: 0  |  Downloads: 0
McKenzie_Law.April
Views: 0  |  Downloads: 0
110208attachmentEndingtheUseofCoalCampaign
Views: 0  |  Downloads: 0
Titration Curve _CBL_ _AP_
Views: 0  |  Downloads: 0
FSSC cover note
Views: 0  |  Downloads: 0
link_130115
Views: 0  |  Downloads: 0
Index_of_Supplementary_Tables_and_Dataset
Views: 0  |  Downloads: 0
By registering with docstoc.com you agree to our
privacy policy

You are almost ready to download!

You are almost ready to download!