building a distributed data access layer for analytics on
play

Building a Distributed Data Access Layer for Analytics on Any Cloud - PowerPoint PPT Presentation

Building a Distributed Data Access Layer for Analytics on Any Cloud Bin Fan | Founding Engineer & VP Open Source | Alluxio binfan@alluxio.com About Me @binfan binfan@alluxio.com The journey to a fragmented data world More data More


  1. Building a Distributed Data Access Layer for Analytics on Any Cloud Bin Fan | Founding Engineer & VP Open Source | Alluxio binfan@alluxio.com

  2. About Me @binfan binfan@alluxio.com

  3. The journey to a fragmented data world More data More people & teams need New storage technologies access to this data generated every day created every 3-8 years

  4. 4 big trends driving the need for a new architecture Separation of Hybrid – Multi Rise Self-service Compute & cloud of the object data across the Storage environments store enterprise

  5. Data Ecosystem - Beta Data Ecosystem 1.0 COMPUTE COMPUTE STORAGE STORAGE

  6. Big data journey and innovation options for enterprises HDFS for Hybrid Cloud Burst HDFS data in the cloud, Co-located Disaggregated public or private Support more frameworks Co-located Disaggregated Support Presto, Spark compute & HDFS compute & HDFS and other computes on the same cluster on the same cluster without app changes Transition to Object store Hive MR / Hive Enable & accelerate HDFS HDFS big data on object stores

  7. Challenges with the transition Support more frameworks Transition to Object store HDFS for Hybrid Cloud ▪ Accessing data over WAN too ▪ Copying data to multiple ▪ Object stores performance for slow compute clouds time consuming big data workloads can be very and error prone poor ▪ Copying data to compute cloud time consuming and complex ▪ Migrating applications for new ▪ No native support for popular storage systems is complex & frameworks ▪ Using another storage system like time consuming S3 means expensive application ▪ Expensive metadata operations changes ▪ Storing and managing multiple reduce performance even more copies of the data becomes ▪ Using S3 via HDFS connector expensive ▪ No support for hybrid leads to extremely low environments directly performance

  8. Independent scaling of compute & data POSIX Interface REST API Java File API HDFS Interface S3 Interface Data Orchestration for the Cloud HDFS Driver Swift Driver S3 Driver NFS Driver

  9. Use Cases Data Orchestration Enables Accelerate big data frameworks Burst big data workloads in Dramatically speed-up big data hybrid cloud environments on the public cloud on object stores on premise On-premise Hive Presto Spark Alluxio Alluxio Alluxio Same container / machine Same instance / Same instance / container container On premise or or

  10. Advanced Use Cases Spark Hive Spark Presto Presto Alluxio Alluxio Standalone Any public / Same data private cloud center / region Any Cloud / Multi Cloud or or Enable big data on object stores Orchestrate data frameworks on across single or multiple clouds the public cloud

  11. Alluxio – Key innovations Data Locality Data Accessibility Data Elasticity with Intelligent for popular APIs & with a unified Multi-tiering API translation namespace Abstract data silos & storage Accelerate big data Run Spark, Hive, Presto, ML systems to independently scale workloads with transparent workloads on your data data on-demand with compute tiered local data located anywhere

  12. Data Locality with Intelligent Multi-tiering Local performance from remote data using multi-tier storage Read & Write Buffering Transparent to App RAM SSD HDD Hot Warm Cold Policies for pinning, promotion/demotion, TTL

  13. Data Accessibility via popular APIs and API Translation Convert from Client-side Interface to native Storage Interface FUSE Interface REST API Java File API HDFS Interface S3 Interface HDFS Driver S3 Driver Swift Driver NFS Driver

  14. Data Elasticity via Unified Namespace Enables effective data management across different Under Store - Uses Mounting with Transparent Naming

  15. Unified Namespace: Global Data Accessibility Transparent access to understorage makes all enterprise data available locally HDFS #1 SUPPORTS IT OPS FRIENDLY HDFS Storage mounted into Alluxio • • Object Store NFS by central IT • OpenStack Security in Alluxio mirrors • • NFS Ceph source data • Amazon S3 Authentication through • • HDFS #2 Azure LDAP/AD • Google Cloud Wireline encryption • •

  16. Abstract & orchestrate data across data silos COMPUTE SPREAD ACROSS MANY DIFFERENT FRAMEWORKS ANY TENSOR DATA HIVE SPARK SPARK FLOW PRESTO APP DATA DATA DATA DATA DATA DATA ORCHESTRATION ORCHESTRATION ORCHESTRATION ORCHESTRATION ORCHESTRATION ORCHESTRATION S3 HDFS NFS HDFS DATA IN DISPARATE STORAGE SYSTEMS

  17. Demos in Office Hour: ● Spark + Alluxio + S3 & Azure ● TPC-DS on Spark+S3 vs Spark+Alluxio+S3

  18. Interacting with data in Alluxio – variety of APIs Application have great flexibility to read / write data with many options Spark > rdd = sc.textFile(“alluxio://localhost:19998/myInput”) Hadoop $ hadoop fs -cat alluxio://localhost:19998/myInput POSIX $ cat /mnt/alluxio/myInput Java FileSystem fs = FileSystem.Factory.get(); FileInStream in = fs.openFile(new AlluxioURI("/myInput"));

  19. Deployment Approaches Spark Spark Presto Alluxio Alluxio Same instance / Same data container center / region Any Cloud Any Cloud Storage Storage Co-locate Alluxio Workers with Spark for Deploy Alluxio as standalone cluster optimal I/O performance between Spark and Storage

  20. Alluxio Reference Architecture Alluxio WA Alluxio Worker N Client Object Store RAM / SSD / HDD Applicatio n Under Store 1 Alluxio Alluxio Worker Client Applicatio RAM / SSD / HDD n Under Store Alluxio 2 Master Zookeeper / RAFT Standby Master

  21. Interacting with data in Alluxio – flexible app patterns Application have great flexibility to read / write data with many options Writing Data Reading Data Write only to Alluxio From under store • • Write only to Under Store From a co-located Alluxio • • Write synchronously to Alluxio and node • Under Store From a different Alluxio • Write to Alluxio and • node asynchronously write to Under Store Write to Alluxio and replicate to N • other workers Write to Alluxio and async write to • multiple Under stores

  22. Read data in Alluxio, on same node as client Memory Speed Read of Data Application Alluxio Alluxio Worker Master Alluxio Client RAM / SSD / HDD 22

  23. Read data not in Alluxio Network / Disk Speed Read of Data Application Alluxio Alluxio Worker Master Under Store Alluxio Client RAM / SSD / HDD 23

  24. Write data only to Alluxio on same node as client Memory Speed Write of Data Application Alluxio Alluxio Worker Master Alluxio Client RAM / SSD / HDD 24

  25. Write data to Alluxio and Under Store synchronously Network / Disk Speed Write of Data Application Alluxio Alluxio Under Store Worker Master Alluxio Client RAM / SSD / HDD 25

  26. Interacting with data in Alluxio – data management Application have great flexibility to read / write data with many options Data Management Pinning • Prefetch/free • Cross storage copy and move operations • TTL •

  27. China Unicom Leading Chinese Telco serving 320 million subscribers Use case | Data orchestration for agility SPARK Kubernetes SPARK DATA ORCHESTRATION SPARK ETL HDFS OBJECT HBASE HDFS OBJECT HBASE ▪ Single namespace to access & address all data ▪ Data local to compute accelerates workloads

  28. Two Sigma Fastest growing big hedge fund managing $46 billion for investors Use case | Cloud bursting on-premise data SPARK SPARK Public Cloud DATA ORCHESTRATION Public Cloud HDFS HDFS ▪ Compute scales elastically independent of storage ▪ Faster time to insights with seamless data orchestration ▪ Accelerated workloads with memory-first data approach

  29. Enterprises moving towards independent compute & storage

  30. Join the Alluxio Open Source Community www.alluxio.org/slack

Recommend


More recommend