当前位置:首页 > 报告详情

钟阳红-Apache Ballista Introduction.pdf

上传人: 2*** 编号:132110 2023-06-30 17页 2.66MB

1、第三届中国Rust开发者大会Apache Ballista Introduction钟阳红(John Zhong)Software Engineer eBaynju_yahoapache.orgAgenda Overview Cluster Setup SQL Execution Data Cache FutureApache Ballista is a distributed SQL query engine powered by the Rust implementation of Apache Arrow and DataFusion.Its mainly for interactive

2、 queries of low latency.Support DAG and fault toleranceSupport data exchangeSupport different kinds of object stores,like HDFS,S3,Azure,etcSupport data cache and cache aware task schedulingOverviewCluster SetupThe cluster consists of one scheduler and a number of executors.Both of scheduler and exec

3、utor can be deployed on K8S.Executors can be added to the cluster flexibly by registering to the cluster scheduler.SQL Execution SQL -DAG(Directed Acyclic Graph)DAG State Machine Task Assignment Event Loop based ProcessingSQL Execution DAG Generation SQLLogical PlanSingle MachineExecution PlanDistri

4、butedExecution PlanDAGSQL Execution DAG State MachineNormal Stage State MachineSQL Execution Fault ToleranceStage State Machine for Executor LostSQL Execution Task AssignmentTask:each execution stage for a number of data partitions.one task for each data partition.Executor slot:each executor has a n

5、umber of slots for task execution.One round task assignment will bind pending tasks with available executor slots as many as possible.Two assignment policies:PolicyResult of One RoundRound-robinJob_a:1 slot from executor_3 1 slot from executor_2Job_b:3 slots from executor_3 2 slots from executor_2 2

6、 slots from executor_1BiasJob_a:2 slots from executor_3Job_b:5 slots from executor_3 2 slots from executor_2SQL Execution Event Loop based ProcessingAdvantages:DecoupledEfficient processing for batch eventsData CacheData cache is a very common feature for the

word格式文档无特别注明外均可编辑修改,预览文件经过压缩,下载原文更清晰!
三个皮匠报告文库所有资源均是客户上传分享,仅供网友学习交流,未经上传用户书面授权,请勿作商用。
本文介绍了第三届中国Rust开发者大会中Apache Ballista的相关内容。Apache Ballista是一个基于Rust实现的分布式SQL查询引擎,依赖于Apache Arrow和DataFusion。它主要用于低延迟的交互式查询,支持DAG和容错,支持数据交换,支持多种对象存储,如HDFS、S3、Azure等,并支持数据缓存和缓存感知任务调度。其集群由一个调度器和多个执行器组成,支持在K8S上部署,执行器可以通过向集群调度器注册来灵活添加到集群中。在SQL执行方面,Ballista将SQL转换为DAG,采用事件循环基于的处理方式,通过任务分配和状态机实现查询的容错和高效执行。未来,Ballista将实现调度器高可用性、改进洗牌机制,并参考了Snowflake和Vertica的相关技术。
"Apache Ballista如何支持DAG和容错?" "Apache Ballista如何实现SQL执行的任务分配和事件循环处理?" "Apache Ballista的数据缓存机制是怎样的,有哪些优势?"
客服
商务合作
小程序
服务号
折叠