250 likes | 396 Views
EnsemBlue: Integrating Distributed Storage and Consumer Electronics. Daniel Peek and Jason Flinn University of Michigan. Bringing Distributed Systems Home. Distributed systems ignore Consumer Electronic Devices (CEDs) Much user interaction is through CEDs
E N D
EnsemBlue: Integrating Distributed Storage and Consumer Electronics Daniel Peek and Jason Flinn University of Michigan
Bringing Distributed Systems Home • Distributed systems ignore Consumer Electronic Devices (CEDs) • Much user interaction is through CEDs • Integrate CEDs into distributed systems University of Michigan
CED Integration Difficult • Application-specific resources • Heterogeneous interfaces • Closed platforms • Cannot execute our code University of Michigan
Today University of Michigan
EnsemBlue • Hypothesis: Distributed file systems can help manage CEDs and multimedia My Data My Devices University of Michigan
EnsemBlue • Based on BlueFS [Nightingale 04] • Client-server design • Single namespace • Supports mobile clients • Designed for small group of users File Server University of Michigan
Outline • Motivation • Device-Specific Namespaces • Device-Specific Functionality • Disconnected Collections of Devices • Evaluation • Conclusion University of Michigan
DFS Protocol Connecting CEDs • CEDs cannot perform DFS protocol Distributed File System Device-Specific Protocol Device-Specific Protocol DFS Protocol? • Attach: computer speaks for CED • Works with disconnected clients University of Michigan
F01 Classical F02 F03 Jazz F04 Device-Specific Namespaces • User prefers one organization • CED requires another organization University of Michigan
Device-Specific Namespaces • Where to store the mapping? • Cannot store in DFS due to partial caching • Make CEDs self-describing University of Michigan
Receipts • What should mapping look like? ~dpeek/classical/song.mp3 /iPod/f27/ABCD.mp3 Object 1.123.46F2 • Path lookups may fail with partial caching • Receipts bypass path resolution University of Michigan
Device-Specific Execution • Updating indexes • Transcoding • Type-specific caching • Organizers University of Michigan
Device-Specific Execution • Cannot execute on CED • Leverage general computers • Take action when files change • Problem: Need notification of file changes University of Michigan
Notification Via Persistent Queries • Don’t need new mechanism • Leverage cache consistency mechanism • Structure notifications as file system object • Robust to crash • Handles disconnected operation updates truncate *.mp3 read process University of Michigan
Persistent Queries • Example: M4A to MP3 transcoder File Server M4A MP3 M4A M4A to MP3 Transcoder *.m4a M4A MP3 MP3 *.m4a University of Michigan
Disconnected Devices • Server gives safety, availability, consistency • Server mediates communication File Server University of Michigan
Disconnected Devices • Disconnected devices cannot interact! File Server University of Michigan
Disconnected Devices • Peer-to-Peer better supports mobility • CEDs store and forward updates File Server University of Michigan
? ? Ensembles • Ensembles can avoid these problems • Select a pseudo file server • Consistent view of all files • Improved data access • Update propagation Pseudo File Server University of Michigan
Outline • Motivation • Device-Specific Namespaces • Device-Specific Functionality • Disconnected Collections of Devices • Evaluation • Conclusion University of Michigan
Microbenchmarks • Persistent query execution is fast • <200 ms for 1,000s of matches, GBs of data • Persistent queries have low overhead • Negligible even for 10,000 queries • Ensemble formation as fast as 20 ms • Proportional to data transfer size University of Michigan
Organizing My Photos File Server *.jpg Photo Organizer iCal University of Michigan
Managing My Music File Server MP3 DB MP3 DB MP3 DB *.mp3 iPod DB Updater MP3 DB MP3 University of Michigan
Conclusion • Added CEDs to distributed systems • Device-specific data organization • Device-specific functionality • Supports TiVo, iPod, digital cameras, media players, cell phones, PDAs University of Michigan
Questions ? University of Michigan