Collaborative Interdisciplinary ML-Centric
Data Analytics at Scale
1
Prof. Chen Li
李晨
NDBC, 2020
古话
Trend of Collaboration and Sharing
3
Benefits of collaboration and sharing
4
Asynchronous schedules
Team work
Here comes the coronavirus…
5
More people work from home
Collaborative data analytics
6
Collaborators with different backgrounds
7
Domain Scientists: e.g., Public Health researcher Dr. Sue
Machine Learning Experts: Joe
Infrastructure Developers: e.g., my team
Example: tweet analysis
8
Labeled Instances
ETL (Texera)
Visualization
(Cloudberry)
Database
(Apache AsterixDB)
Classifier Trainer
Manual Labeling
Case 1
9
Interactions between Sue and our team
10
Keywords
Results
Case 2: collaboration between ML experts
11
Training a model
RESOURCES WASTED
Not available
Needs help
Collaborative data analytics
12
How about ...
13
Requirements
14
Our solution: Texera
15
Texera: Features
16
Need of debugging
17
Problems in current systems:
Little feedback
No runtime debugging
printf() vs gdb
18
AMBER
Why not Spark?
19
Amber: based on Actor Model
20
Why actor model?
21
Amber: Operator DAG -> Actor DAG
22
Debugging a long-running workflow
23
Instantaneous processing of control messages
Fast processing of messages in Amber
24
Messages arrive at Actor’s mailbox.
Expedited processing of control messages
25
DP thread created
Expedited processing of control messages
26
Main worker handles “Pause” message.
Conditional breakpoints in Amber
27
Pause the workflow if complaint # > 1,000
Scan
Sentiment
Analysis
Sink
Table: Customer Evals
Type = Complain
Scan
Table: Product Groups
Join
on Product-ID
1M complaints
PAUSE
Fault Tolerance
28
Worker
Principal
PAUSE
Pause
<Main,8>
<DP, (6,34)>
Normal Operation
Worker
Principal
Pause
<Main,8>
<DP, (6,34)>
Recovery after failure
Scaleup on TPC-H Queries
29
Latency of control messages
30
Texera on github
31
Conclusions
32