26
Kyligence: [email protected] Kyligence VP Apache Kylin PMC & Committer

Kyligence: · 2019-03-13 · 1 0, . , Kyligence= Kylin+ Intelligence • Founded by the team who created Apache Kylin, in 2016 • From eBay, Microsoft, IBM, Cisco, Teradata • Apache

  • Upload
    others

  • View
    2

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Kyligence: · 2019-03-13 · 1 0, . , Kyligence= Kylin+ Intelligence • Founded by the team who created Apache Kylin, in 2016 • From eBay, Microsoft, IBM, Cisco, Teradata • Apache

Kyligence: ������

��� [email protected] VPApache Kylin PMC & Committer

Page 2: Kyligence: · 2019-03-13 · 1 0, . , Kyligence= Kylin+ Intelligence • Founded by the team who created Apache Kylin, in 2016 • From eBay, Microsoft, IBM, Cisco, Teradata • Apache

BI/Applications

Data Lake

Data Source

o Too many options

o Low performance

o Long learning curve

o Compatibility issue

o Technology vs Data

OLAP: The Missing Part of Big Data

Hive Impala Spark SQL Drill

MapReduce …Spark

Page 3: Kyligence: · 2019-03-13 · 1 0, . , Kyligence= Kylin+ Intelligence • Founded by the team who created Apache Kylin, in 2016 • From eBay, Microsoft, IBM, Cisco, Teradata • Apache

BI/Applications

Data Lake

Data Source

o SQL Acceleration for Big Data

o Semantic Layer

o Speed up Analytics

o ANSI SQL Interface

o High Performance and High

Concurrency

Apache Kylin: Bring OLAP back to Big Data

OLAP

Data Mart

Hive Impala Spark SQL Drill

MapReduce …Spark

Page 4: Kyligence: · 2019-03-13 · 1 0, . , Kyligence= Kylin+ Intelligence • Founded by the team who created Apache Kylin, in 2016 • From eBay, Microsoft, IBM, Cisco, Teradata • Apache

OLAP and OLAP CubeOnline analytical processing, or OLAP, is an approach to answering multi-dimensional analytical (MDA) queries swiftly in computing. –WikipediaBasic operations

– Roll-up

– Drill-down

– Slice and dice

– Pivot

OLAP cube is a data structure optimized for very quick data analysis.

Page 5: Kyligence: · 2019-03-13 · 1 0, . , Kyligence= Kylin+ Intelligence • Founded by the team who created Apache Kylin, in 2016 • From eBay, Microsoft, IBM, Cisco, Teradata • Apache

Cube: balance between space and time

OLAP Cube--Key-Value

Multiple Dimensional Model--Relational

Classification, aggregation, and sorting

Page 6: Kyligence: · 2019-03-13 · 1 0, . , Kyligence= Kylin+ Intelligence • Founded by the team who created Apache Kylin, in 2016 • From eBay, Microsoft, IBM, Cisco, Teradata • Apache

Apache Kylin Architecture Overview

Apache Kylin

Data Analyst, BI Tools, Web App…

SQLOnline calculation

Offline calculation

Scan & filter

Extract

Compute

Load

Optimize & Rewrite

Page 7: Kyligence: · 2019-03-13 · 1 0, . , Kyligence= Kylin+ Intelligence • Founded by the team who created Apache Kylin, in 2016 • From eBay, Microsoft, IBM, Cisco, Teradata • Apache

SQL execution plan without Cube

selectl_returnflag,

o_orderstatus,

sum(l_quantity) as sum_qty,

sum(l_extendedprice) as sum_base_price

fromv_lineitem

inner join v_orders on l_orderkey = o_orderkey

wherel_shipdate <= '1998-09-16'

group byl_returnflag,

o_orderstatus

order byl_returnflag,

o_orderstatus;

Sample�Check the order return and order status relationship in a time range

Sort

Aggr.

Filter

Tables

O(N)

JoinNo cube, all need online

calculations, CPU and IO

intensive, latency is

remarkable.

Page 8: Kyligence: · 2019-03-13 · 1 0, . , Kyligence= Kylin+ Intelligence • Founded by the team who created Apache Kylin, in 2016 • From eBay, Microsoft, IBM, Cisco, Teradata • Apache

SQL execution plan with CubeCube technology speed up query performance with pre-calculation

Sort

Cube

Filter

Sort

Aggr.

Filter

TablesO(N)

Join

O(flag x status x days) = O(1)

Aggregated dataThe table join and aggregation are completed offline.

Directly from aggregated data (cube) with index; Much less CPU and IO. Latency is small.

Page 9: Kyligence: · 2019-03-13 · 1 0, . , Kyligence= Kylin+ Intelligence • Founded by the team who created Apache Kylin, in 2016 • From eBay, Microsoft, IBM, Cisco, Teradata • Apache

Persistent the cube in HBaseRelational to Key Value store

Page 10: Kyligence: · 2019-03-13 · 1 0, . , Kyligence= Kylin+ Intelligence • Founded by the team who created Apache Kylin, in 2016 • From eBay, Microsoft, IBM, Cisco, Teradata • Apache

High performance & High concurrency togetherSub-second latency on PB scale dataset

Star schema benchmark:http://www.cs.umb.edu/~poneil/StarSchemaB.PDF

0

2

4

6

8

10

12

1.1 1.2 1.3 2.1 2.2 2.3 3.1 3.2 3.3 3.4 4.1 4.2 4.3

Latency(s)

SSB Queries

�条SQL响���

Kylin SQL on Hadoop

0

10

20

30

40

50

60

70

80

90

0 10 20 30 40 50

Latency(s)

Data Scale

不同数据量性能�化

Kylin SQL on Hadoop

SQL LatencyLower is better

Data Volume ScaleLower is better

Page 11: Kyligence: · 2019-03-13 · 1 0, . , Kyligence= Kylin+ Intelligence • Founded by the team who created Apache Kylin, in 2016 • From eBay, Microsoft, IBM, Cisco, Teradata • Apache

Traditional Data Warehouse Engineering

Low Efficiency, Long Engineering Period

Page 12: Kyligence: · 2019-03-13 · 1 0, . , Kyligence= Kylin+ Intelligence • Founded by the team who created Apache Kylin, in 2016 • From eBay, Microsoft, IBM, Cisco, Teradata • Apache

Data Warehouse Evolution

Data Mart

Orders

Payments

Contacts

Products

Customers

Data Warehouse

Contacts

Orders

Payments

Products

DataWarehouse

Fusion & Intelligent DW

Data Lake

Contacts

Orders

Payments

Products

DataWarehouse

Web Data

Sensor

Documents

Images

Big Data

Cloud

Contacts

Orders

Payments

Products

DataWarehouse

Products

Contacts

Orders

Payments

Cloud

Contacts

Orders

Payments

Products

DataWarehouse

Images

Web Data

Sensor

Documents

Big Data

Page 13: Kyligence: · 2019-03-13 · 1 0, . , Kyligence= Kylin+ Intelligence • Founded by the team who created Apache Kylin, in 2016 • From eBay, Microsoft, IBM, Cisco, Teradata • Apache

Kyligence = Kylin + Intelligence

(#K�

?(

Hadoop

���

����

Kyligence Enterprise

+������

Big Data����.F�/ %��<>(#�/'7�H&��2��(#�8B�

Cloud�5�G@��6K!��!)*(#E��!-A�M';O�

-�G@ + �=G@+ 5�G@

�"�/ 9":� C�04

�+31 E�DN LJ$�

AI�,B(# ���/�H&ITGI;��E6�!-

Page 14: Kyligence: · 2019-03-13 · 1 0, . , Kyligence= Kylin+ Intelligence • Founded by the team who created Apache Kylin, in 2016 • From eBay, Microsoft, IBM, Cisco, Teradata • Apache

AI Augmented Analytics Platform

SQLQuery Log

Analytic Behavior

DataSchema

DataProfile

ML-based Pattern

Discovery

AutomatedData

Enrichment &Modeling

Optimizedmulti-level

Storage Layer

Intelligent Query Push-

down & Routing

Self-Service BI

Real-time Analysis

Data-as-a-Service

On-Premises Cloud Container Hybrid

Page 15: Kyligence: · 2019-03-13 · 1 0, . , Kyligence= Kylin+ Intelligence • Founded by the team who created Apache Kylin, in 2016 • From eBay, Microsoft, IBM, Cisco, Teradata • Apache

1 0, . ,

Historical Real time

Fusion of Historical &

Real-time Data

Fusion of

On-Premises and Cloud

On-premises Cloud

EDW Data Lake

Fusion of

Traditional DW & Big Data

Modernized Architecture

Kyligence

Product Screenshot

Page 16: Kyligence: · 2019-03-13 · 1 0, . , Kyligence= Kylin+ Intelligence • Founded by the team who created Apache Kylin, in 2016 • From eBay, Microsoft, IBM, Cisco, Teradata • Apache

ODBC based BI Tool ConnectionØ Power BI/Excel

Ø Tableau/MicroStrategy/Qlik

Ø Cognos/BO/OBIEE

Ø Zepplin/Superset

Built-in Data Source by PowerBI, others are comming

Provide REST APIs to integrate with existing applications in the organization

Smooth Integration with BI and applications

Page 17: Kyligence: · 2019-03-13 · 1 0, . , Kyligence= Kylin+ Intelligence • Founded by the team who created Apache Kylin, in 2016 • From eBay, Microsoft, IBM, Cisco, Teradata • Apache

Kyligence Cloud = Apache Kylin + Cloud

One-clickprovisioning

Auto ScalingHigh Performance SeamlessIntegration

Intelligent Ops

Deploy globally in 30

minutes

Scale cluster

automatically for

different workloads

Powered by Kyligence

Analytics Platform

Connect to cloud data

sources

Enterprise ODBC

driver for BI

Online diagnosis and

continuous

optimization

Speed Up mission-critical analytics in the cloud

Page 18: Kyligence: · 2019-03-13 · 1 0, . , Kyligence= Kylin+ Intelligence • Founded by the team who created Apache Kylin, in 2016 • From eBay, Microsoft, IBM, Cisco, Teradata • Apache

Ingestion

Cloud Native Big Data Architecture

Processing Analytics

Online Apps, Business

Local DB, Files, Logs

IoT, Streams

Data Lake

Hadoop

MPP DW

BI / Reporting

Machine Learning

Business

Self-Service & Interactive Analytics for Big Data in the Cloud

Page 19: Kyligence: · 2019-03-13 · 1 0, . , Kyligence= Kylin+ Intelligence • Founded by the team who created Apache Kylin, in 2016 • From eBay, Microsoft, IBM, Cisco, Teradata • Apache

Kyligence on public Cloud

Amazon EMR

Amazon S3 bucket

Amazon EC2

Elastic Load Balancing AmazonRoute 53

AmazonRDS

AmazonRDS

Amazon Redshift

SQL / API

JDBC�ODBC

AmazonS3

Data flow

Control flow

Page 20: Kyligence: · 2019-03-13 · 1 0, . , Kyligence= Kylin+ Intelligence • Founded by the team who created Apache Kylin, in 2016 • From eBay, Microsoft, IBM, Cisco, Teradata • Apache

����������

25)3* ��

��%�;.6;-

(�!/4���+�

%�'0��

��1�8%�'��

�7��%:�$�

#���

������ �����

��9&;,;�"

%�).6� ��"

� ��.6��

������

Page 21: Kyligence: · 2019-03-13 · 1 0, . , Kyligence= Kylin+ Intelligence • Founded by the team who created Apache Kylin, in 2016 • From eBay, Microsoft, IBM, Cisco, Teradata • Apache

��������� �

C

Page 22: Kyligence: · 2019-03-13 · 1 0, . , Kyligence= Kylin+ Intelligence • Founded by the team who created Apache Kylin, in 2016 • From eBay, Microsoft, IBM, Cisco, Teradata • Apache

%����������

Head Node: D12 * 1 Worker Node: D12 * 4• /�+�1&�AB�!��;4• 0@+�1&":���>2��;4

Edge Node: D4 * 1• 5��=Kylin-�• �1&0@��>2��;4

3�• 5$� (<.���;4)�*�?7:�������D8• ���,�D8� )&E�":���6>2CG����;4)#'GD8�'�F9?7:�

Page 23: Kyligence: · 2019-03-13 · 1 0, . , Kyligence= Kylin+ Intelligence • Founded by the team who created Apache Kylin, in 2016 • From eBay, Microsoft, IBM, Cisco, Teradata • Apache

0 7

7 % !

/

Page 24: Kyligence: · 2019-03-13 · 1 0, . , Kyligence= Kylin+ Intelligence • Founded by the team who created Apache Kylin, in 2016 • From eBay, Microsoft, IBM, Cisco, Teradata • Apache

1 0, . ,

Kyligence = Kylin + Intelligence

• Founded by the team who created Apache Kylin, in 2016

• From eBay, Microsoft, IBM, Cisco, Teradata

• Apache Kylin: Leading open source OLAP on Big Data

• Funding by leading VCs: Redpoint Ventures, Cisco, CBC

Capital, Shunwei Capital and Fidelity International

• Dual-Headquarters�Shanghai China�Silicon Valley US

• CRN Top 10 Big Data Startups 2018

Silicon ValleyShanghai

BeijingWashington D.C

Shenzhen

Page 25: Kyligence: · 2019-03-13 · 1 0, . , Kyligence= Kylin+ Intelligence • Founded by the team who created Apache Kylin, in 2016 • From eBay, Microsoft, IBM, Cisco, Teradata • Apache

Kyligence Open Ecosystem

No.1 open source

OLAP on Hadoop

No.1

Leading the Open Source

community and culture

Community

Page 26: Kyligence: · 2019-03-13 · 1 0, . , Kyligence= Kylin+ Intelligence • Founded by the team who created Apache Kylin, in 2016 • From eBay, Microsoft, IBM, Cisco, Teradata • Apache