rozofs
play

#rozofs Dimitri Pertin @denaitre 1 / 29 RozoFS: The Scalable - PowerPoint PPT Presentation

#rozofs Dimitri Pertin @denaitre 1 / 29 RozoFS: The Scalable Distributed File System based on Erasure Coding available on https://github.com/rozofs/rozofs 2 / 29 Distributed Storage Systems 3 / 29 Distributed Storage Systems Goal: Improve


  1. #rozofs Dimitri Pertin @denaitre 1 / 29

  2. RozoFS: The Scalable Distributed File System based on Erasure Coding available on https://github.com/rozofs/rozofs 2 / 29

  3. Distributed Storage Systems 3 / 29

  4. Distributed Storage Systems Goal: Improve storage protection and/or performance RAID controllers for local data distribution over disks RAID-0 improve performance, no protection; A B C D E F G H RAID-1 improve protection, J I K L bad performance; RAID-6 trade-off between protection and performance. A A D D B B E E C C F F A 0 B 0 P 0 Q 0 A 1 P 1 Q 1 D 1 P 2 Q 2 C 2 D 2 4 / 29

  5. Distributed Storage Systems Distributed storage systems for network data distribution New client node joins the storage network: 5 / 29

  6. RozoFS File System A Unique Namespace relying on several storage nodes A POSIX Distributed File System can be simultaneously mounted by multiple clients and provides: Scalability; Flexibility and heterogeneity; Access/Location transparency; Data protection by an erasure code. 6 / 29

  7. Fault Tolerance 7 / 29

  8. Fault Tolerance Distributed storage systems for network data distribution Write redundant information over nodes: 8 / 29

  9. Fault Tolerance Distributed storage systems for network data distribution Read a subset is sufficient: 9 / 29

  10. Fault Tolerance Distributed storage systems for network data distribution Face node/link/matrix failures: 10 / 29

  11. Fault Tolerance Data Replication (3 copies) Remarks: Does not need any computation; But is very expensive; Three copies cost 3 times the original amount of information. 11 / 29

  12. Fault Tolerance Data Replication (3 copies) 12 / 29

  13. Problem ? 13 / 29

  14. Distributed Storage Systems What is the problem ? The Digital Universe in 2020, J. Grantz and D. Reinsel (2012). 14 / 29

  15. Distributed Storage Systems What is the problem ? Data protection plays a major role in storage consumption: The amount of information indivuals create themselves - writing documents, taking pictures, downloading music, etc. - is far less than the amount of information being created about them in the digital universe. The proportion of data in the digital universe that requires protection is growing faster than the digital itself, from less than a third in 2010 to more than 40% in 2020. The Digital Universe in 2020, J. Grantz and D. Reinsel (2012). 15 / 29

  16. Erasure Coding 16 / 29

  17. Data Protection by Erasure Coding (6,4) Erasure Encoding Data Flow k Data Blocks n Parity Blocks Remarks Optimal (MDS) codes decode from any subset of parity blocks out of ; k n The system can face failures; n − k = 2 The storage overhead is n = 1.5 k 17 / 29

  18. Data Protection by Erasure Coding (6,4) Erasure Decoding Data Flow k Data Blocks k Parity Blocks Remarks Optimal (MDS) codes decode from any subset of parity blocks out of ; k n The system can face failures; n − k = 2 The storage overhead is n = 1.5 k 18 / 29

  19. Data Protection by Erasure Coding Comparison ? Data Replication by 3 (6,4) Erasure Code 19 / 29

  20. The Mojette Transform 20 / 29

  21. The Mojette Transform Presentation The Mojette Transform is a linear operation based on discrete geometry; Computes redundant information from user's data; The algorithm relies only on additions. Performances Implementation uses fast XOR; Encoding and decoding computations are transparent. The Mojette Transform, Theory and Applications, J. Guédon (2009). 21 / 29

  22. The Mojette Transform Protection in Storage Systems k=4 n=6 File (48kB) Chunks (4kB) Data Blocks Parity Blocks (1kB) (1kB) The MT is applied on data blocks to produce a set of parity blocks; 4 6 Parity blocks are distributed over storage nodes; Any subset of parity blocks out of the is sufficient to decode. k = 4 n = 6 22 / 29

  23. Architecture of RozoFS 23 / 29

  24. Architecture of RozoFS Metadata Server: exportd service Stores metadata (data about user data) POSIX information (e.g. size, permissions, timestamps, etc.) RozoFS related information (e.g. data localisation) Knows the position of data blocks answers data location in reading answers where to store projections in writing 24 / 29

  25. Architecture of RozoFS Storage Servers: storaged daemon Hold a storaged daemon that manages data storing data retrieval data accessibility Data can be stored on: local file system (ext4, xfs, etc.) or remote Amazon bucket native or other protocol (CIFS, AFP, etc.) 25 / 29

  26. Architecture of RozoFS Clients Rely on FUSE (rozofsmount) mounts locally RozoFS translates transparently user actions for the network system Manage encoding (write) and decoding (read) 26 / 29

  27. Production Use Example FCP1 FCP2 FCP3 FCP4 FCP5 Gigabit Ethernet RozoFS Global Namespace exportd (A) exportd (P) storaged storaged storaged storaged storaged storaged rozofsmount rozofsmount rozofsmount rozofsmount rozofsmount rozofsmount AFP AFP AFP AFP AFP AFP Gigabit Ethernet 27 / 29

  28. Academic Use Example 28 / 29

  29. Thanks! Contribute: https://github.com/rozofs/rozofs Contact me at: @denaitre or dimitri.pertin@univ-nantes.fr Have a look at ANR FEC4Cloud project Slideshow created by remark. 29 / 29

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend