- 4
- 0
- 约3.8千字
- 约 74页
- 2019-11-18 发布于广东
- 举报
A pipeline for a modular, scalable observable Internal Analytics platform;Agenda;WHATwe do and how;Monitoring platform for cloud-scale infrastructures and applications;;;;;Internal Analytics team;Data Engineers + Data Analysts;Our data;Our data;;How other teams access our data;WHY ETTL:
Challenges Requirements;;Evolving data sources = Changing the whole pipeline
Low resilience to changes in data sources
Cleaning and transformations duplicated
Parameters and functions all in one giant utils
One task fails → whole pipeline fails
Backfilling can take forever
Tasks dependencies nightmare
DataOps very complex;E T T L;Bronze;Data sources;Bronze = Data gathering;customer_hourly_usage
customer_id 22
name DatacatX
billing_plan_id 3
creation_tstamp 2018-01-14 10:15:34.171
hour_data 2018-10-24 15:00:00
server_count 154
country France;S3 Bronze bucket;Silver = Normalization layer;customer_hourly_usage
customer_id 22
name DatacatX
billing_plan_id 3
creation_tstamp 2018-01-14 10:15:34.171
hour_data 2018-10-24 15:00:00
server_count 154
country France ;Gold = Analytics layer;fact_usage_daily
customer_id 22 int
customer_name datacatx string
billing_plan pro string
usage_date 2018-10-24 date
is_in_trial false boolean
server_count_max 175 int
server_count_avg 141.5 float;Load to data warehouse;Bronze;;31; The orchestra maestro;Holds logic between the tasks
and chains them together
based on a dependency graph;import luigi
class MyTask(luigi.Task):
param = luigi.Parameter(default=42)
def requires(self):
return OtherTask(self.param)
def run(self):
f = self.output().open(w)
print f, hello world
f.close()
def output(self):
return luigi.S3Target(s3://bucket/folder/file-%s.csv % self.param)
if __nam
您可能关注的文档
最近下载
- YAMAHA雅马哈DM3 数字调音台中文说明书.pdf
- 2026年最新工会岗位高频面试真题包含答案及考察点分析.pdf
- 22G101与16G101钢筋平法图集对比变化汇总.docx VIP
- 人教版八年级上册数学期末复习必刷练习题精选汇编(含答案解析).pdf VIP
- 冰心的《繁星·春水》与近代女性文学的觉醒.docx
- 2025年郑州铁路职业技术学院单招职业适应性测试题库及答案(名校卷).docx VIP
- 2026年康复医疗与外骨骼机器人项目建议书.docx
- 金属矿山井下VOD智能通风技术研究.pdf VIP
- 宫颈机能不全诊治中国专家共识(2025版).pptx VIP
- 人教A版高中物理《机械运动及其描述》专题训练(较难) (8)(含答案解析).docx VIP
原创力文档

文档评论(0)