T ALK O UTLINE Motivation Current solutions BSTORE overview Design details: Filesystem API FS organization with tags Tag-based access control Filesystem setup Implementation Evaluation Related work
F ILESYSTEM API Each FS has a flat file structure BSTORE FS API: create(fs, init_tags) -> handle set (handle, data) -> get (handle) -> data delete(handle) -> Fits data model for most web apps
V ERSIONING All files are versioned Most API calls return current version
V ERSIONING All files are versioned Most API calls return current version create(fs, init_tags) -> ver, handle set (handle, data) -> ver get (handle) -> ver, data delete(handle) ->
V ERSIONING All files are versioned Most API calls return current version create(fs, init_tags) -> ver, handle set (handle, data) -> ver get (handle) -> ver, data delete(handle) -> set increments version number
V ERSIONING All files are versioned Most API calls return current version create(fs, init_tags) -> ver, handle set (handle, data, [match_ver]) -> ver get (handle) -> ver, data delete(handle, [match_ver]) -> set increments version number Compare and swap-like functionality to detect concurrent modifications set and delete fail if current ver != match_ver
P RINCIPALS BROWSER SuperRedEye Photo Photo Shutterfly Remover Viewer Editor FS Manager flickr FS Shutterfly BACKEND SERVERS
P RINCIPALS BROWSER redeye.com viewer.com sfly.com editor.com flickr.com fsmgr.com flickr.com Shutterfly BACKEND SERVERS
FS O RGANIZATION WITH T AGS BROWSER SuperRedEye Photo Photo Shutterfly Remover Viewer Editor FS Manager flickr FS Shutterfly
FS O RGANIZATION WITH T AGS BROWSER SuperRedEye Photo Photo Shutterfly Remover Viewer Editor FS Manager flickr FS Shutterfly
FS O RGANIZATION WITH T AGS BROWSER SuperRedEye Photo Photo Shutterfly Remover Viewer Editor FS Manager flickr FS Shutterfly paris newyork
FS O RGANIZATION WITH T AGS BROWSER SuperRedEye Photo Photo Shutterfly Remover Viewer Editor FS Manager flickr FS Shutterfly paris newyork print
FS O RGANIZATION WITH T AGS BROWSER SuperRedEye Photo Photo Shutterfly Remover Viewer Editor FS Manager flickr FS Shutterfly paris newyork print
FS O RGANIZATION WITH T AGS BROWSER SuperRedEye Photo Photo Shutterfly Remover Viewer Editor FS Manager flickr FS Shutterfly paris newyork print
FS O RGANIZATION WITH T AGS BROWSER SuperRedEye Photo Photo Shutterfly Remover Viewer Editor FS Manager flickr FS Shutterfly paris newyork print print
FS O RGANIZATION WITH T AGS BROWSER SuperRedEye Photo Photo Shutterfly Remover Viewer Editor FS Manager flickr FS flickr.com flickr.com Shutterfly #paris #newyork flickr.com viewer.com #print #print
FS O RGANIZATION WITH T AGS BROWSER SuperRedEye Photo Photo Shutterfly Remover Viewer Editor File Manager FS Manager flickr FS flickr.com flickr.com Shutterfly #paris #newyork flickr.com viewer.com #print #print
FS O RGANIZATION WITH T AGS BROWSER SuperRedEye Photo Photo Shutterfly Remover Viewer Editor File Manager FS Manager flickr FS flickr.com flickr.com Shutterfly #paris #newyork flickr.com viewer.com #print #print
FS O RGANIZATION WITH T AGS BROWSER SuperRedEye Photo Photo Shutterfly Remover Viewer Editor File Manager FS Manager flickr FS flickr.com flickr.com Shutterfly #paris #newyork flickr.com viewer.com #print #print fsmgr.com fsmgr.com #christmas #christmas
FS O RGANIZATION WITH T AGS BROWSER SuperRedEye Photo Photo Shutterfly Remover Viewer Editor Tags API File Manager FS Manager settag(handle, tag) -> ver rmtag (handle, tag) -> ver gettag(handle) -> ver, tag_list search(fs, tag_expr) -> handle_list flickr FS flickr.com flickr.com Shutterfly #paris #newyork flickr.com viewer.com #print #print fsmgr.com fsmgr.com #christmas #christmas
A CCESS C ONTROL BROWSER SuperRedEye Photo Photo Shutterfly Remover Viewer Editor File Manager FS Manager flickr FS Shutterfly viewer.com #print fsmgr.com fsmgr.com fsmgr.com #christmas #christmas #private
A CCESS C ONTROL BROWSER SuperRedEye Photo Photo Shutterfly Remover Viewer Editor File Manager FS Manager from to tags rights flickr FS Shutterfly viewer.com #print fsmgr.com fsmgr.com fsmgr.com #christmas #christmas #private
A CCESS C ONTROL BROWSER SuperRedEye Photo Photo Shutterfly Remover Viewer Editor File Manager FS Manager from to tags rights flickr FS Shutterfly viewer.com #print fsmgr.com fsmgr.com fsmgr.com #christmas #christmas #private
A CCESS C ONTROL BROWSER SuperRedEye Photo Photo Shutterfly Remover Viewer Editor File Manager FS Manager from to tags rights fsmgr.com viewer.com fsmgr.com read #christmas flickr FS Shutterfly viewer.com #print fsmgr.com fsmgr.com fsmgr.com #christmas #christmas #private
A CCESS C ONTROL BROWSER SuperRedEye Photo Photo Photo Shutterfly Remover Viewer Viewer Editor File Manager FS Manager from to tags rights fsmgr.com viewer.com fsmgr.com read #christmas flickr FS Shutterfly viewer.com #print fsmgr.com fsmgr.com fsmgr.com #christmas #christmas #private
A CCESS C ONTROL BROWSER SuperRedEye Photo Photo Shutterfly Remover Viewer Editor File Manager FS Manager from to tags rights fsmgr.com viewer.com fsmgr.com read #christmas flickr FS Shutterfly viewer.com #print fsmgr.com fsmgr.com fsmgr.com #christmas #christmas #private
A CCESS C ONTROL BROWSER SuperRedEye Photo Photo Shutterfly Remover Viewer Editor File Manager FS Manager from to tags rights fsmgr.com viewer.com fsmgr.com read #christmas viewer.com sfly.com viewer.com read #print flickr FS Shutterfly viewer.com #print fsmgr.com fsmgr.com fsmgr.com #christmas #christmas #private
A CCESS C ONTROL BROWSER SuperRedEye Photo Photo Shutterfly Shutterfly Remover Viewer Editor File Manager FS Manager from to tags rights fsmgr.com viewer.com fsmgr.com read #christmas viewer.com sfly.com viewer.com read #print flickr FS Shutterfly viewer.com #print fsmgr.com fsmgr.com fsmgr.com #christmas #christmas #private
A CCESS C ONTROL BROWSER SuperRedEye Photo Photo Shutterfly Shutterfly Remover Viewer Editor File Manager FS Manager from to tags rights fsmgr.com viewer.com fsmgr.com read #christmas viewer.com sfly.com viewer.com read #print flickr FS Shutterfly viewer.com #print fsmgr.com fsmgr.com fsmgr.com #christmas #christmas #private
A CCESS C ONTROL BROWSER SuperRedEye Photo Photo Shutterfly Shutterfly Remover Viewer Editor File Manager FS Manager from to tags rights fsmgr.com viewer.com fsmgr.com read #christmas viewer.com sfly.com viewer.com read #print flickr FS viewer.com sfly.com fsmgr.com read #private Shutterfly viewer.com #print fsmgr.com fsmgr.com fsmgr.com #christmas #christmas #private
A CCESS C ONTROL BROWSER SuperRedEye Photo Photo Shutterfly Remover Viewer Editor Access Control API File Manager FS Manager add_dlg(to, tags, rights) -> from to tags rights rm_dlg (to, tags, rights) -> fsmgr.com viewer.com fsmgr.com read get_dlg(to) -> <tags,rights> #christmas viewer.com sfly.com viewer.com read #print flickr FS viewer.com sfly.com fsmgr.com read #private Shutterfly viewer.com #print fsmgr.com fsmgr.com fsmgr.com #christmas #christmas #private
F ILESYSTEM S ETUP FS manager needs FS info to mount the FS FS info stored in a mountpoint file Example: <mountpoint> <url src="http://flickr.com/fs.html"/> <params username="ramesh" password="pass"/> </mountpoint> Any principal can add a mountpoint as long as it can create the mountpoint file Mountpoint file contents encrypted by FS manager encrypt(mntpoint_plaintext) -> mntpoint_ciphertext
F ILESYSTEM E XAMPLES BROWSER SuperRedEye Photo Photo Shutterfly Remover Viewer Editor FS Manager flickr FS Shutterfly BACKEND SERVERS
F ILESYSTEM E XAMPLES BROWSER SuperRedEye Photo Photo Shutterfly Remover Viewer Editor FS Manager flickr FS amazon FS Shutterfly BACKEND SERVERS
F ILESYSTEM E XAMPLES BROWSER SuperRedEye Photo Photo Shutterfly Remover Viewer Editor FS Manager flickr FS amazon FS Storage FS Shutterfly BACKEND SERVERS
F ILESYSTEM E XAMPLES BROWSER SuperRedEye Photo Photo Shutterfly Remover Viewer Editor FS Manager flickr FS amazon FS encrypt FS Storage FS Shutterfly BACKEND SERVERS
F ILESYSTEM E XAMPLES BROWSER SuperRedEye Photo Photo Shutterfly Remover Viewer Editor FS Manager flickr FS amazon FS encrypt FS Layered FS Storage FS Shutterfly BACKEND SERVERS
F ILESYSTEM E XAMPLES BROWSER SuperRedEye Photo Photo Shutterfly Remover Viewer Editor FS Manager flickr FS amazon FS encrypt FS Layered FS Storage FS Shutterfly BACKEND SERVERS
F ILESYSTEM E XAMPLES BROWSER SuperRedEye Photo Photo Shutterfly Remover Viewer Editor FS Manager flickr FS amazon FS encrypt FS Layered FS Storage FS Shutterfly BACKEND SERVERS
F ILESYSTEM E XAMPLES BROWSER SuperRedEye Photo Photo Shutterfly Remover Viewer Editor FS Manager flickr FS amazon FS encrypt FS Layered FS Storage FS Shutterfly BACKEND SERVERS
F ILESYSTEM E XAMPLES BROWSER SuperRedEye Photo Photo Shutterfly Remover Viewer Editor FS Manager flickr FS amazon FS encrypt FS Layered FS Storage FS Shutterfly BACKEND SERVERS
F ILESYSTEM E XAMPLES BROWSER SuperRedEye Photo Photo Shutterfly Remover Viewer Editor FS Manager flickr FS amazon FS encrypt FS Layered FS Storage FS Shutterfly BACKEND SERVERS
Recommend
More recommend