Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Cloud Dataflow
Search
株式会社Curious Vehicle
February 14, 2025
24
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Cloud Dataflow
株式会社Curious Vehicle
February 14, 2025
More Decks by 株式会社Curious Vehicle
See All by 株式会社Curious Vehicle
AI Agent Harness 入門
curicle
0
6
クネビンフレームワークで考える最初の一歩
curicle
0
6
AIガバナンス
curicle
0
7
PQCが変える暗号の世界
curicle
0
49
最近流行ってるClaudeについて
curicle
0
17
ElasticsearchのHA構成について
curicle
0
27
機械学習で絶対音感になりたかった
curicle
0
20
BQにおけるSQLアンチパターンとslot消費削減策
curicle
0
35
VibeKanbanについて
curicle
0
16
Featured
See All Featured
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.6k
Java REST API Framework Comparison - PWX 2021
mraible
34
9.8k
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
2
730
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
520
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
1k
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
Building Applications with DynamoDB
mza
96
7.2k
Building a Modern Day E-commerce SEO Strategy
aleyda
45
9.3k
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
1
3.4k
Amusing Abliteration
ianozsvald
1
350
A Modern Web Designer's Workflow
chriscoyier
699
190k
Reality Check: Gamification 10 Years Later
codingconduct
0
2.3k
Transcript
Cloud Dataflow by Google Cloud Platform
contents • Dataflowとは • Dataflow機能概要 • デモ • まとめ •
Code Tips
Dataflow とは Cloud Dataflow Cloud Dataflow • Dataflowとは ストリーム処理とバッチ処理をフルマネー ジドしてくれるサービス
• GCPを利用することでサーバなどの運用を気にせず データ処理を簡単に実装できる • リソース周りもオートスケールで管理してくれるのでリ ソース管理も不要となる • Java, Python, Goなどの言語で開発可能 (Apache Beam SDK)
Dataflow 構成概要 BigQuery Bigtable Datastore Cloud PubSub Cloud Storage Dataflow
What can dataflow do • Pipeline • Transform • Window
& Trigger • PipelineIO • Groupby & Combine
Pipeline • 各種入力チェックや処理の流れを Pipelineとして自由に組み立てられます • Pipelineを利用して処理の分岐や結合する ことも可能です
Transform • 入力は ファイルであれば1行、DBであれば1レコードづつが Transformのinputとし 各種データ変換処理を行うブロックです • Transformの処理は並列処理されます (ParDo)
PipelineIO • データの流入元と出力先 (始点と終点)のライブラリ群 • ベーシックなものとしては FileIOなどだが、GCP関連はほぼIOライブラリが揃っている
Window and Trigger • Windowを設定することで永続的な Stream処理とすることができます • Windowには以下のような種類がある • Fixed
Time Windows • Sliding Time Windows • Per-Session Windows • Single Global Window • Calendar Based Windows
Window and Trigger • Triggerは各種Windows内の処理を放出するタイミングを設定する • Triggerには以下のような種類がある • Event Time
Triggers • Processing Time Triggers • Data-driven Triggers • Composite Triggers
GroupBy and Combine • 並列処理されているものをまとめる処理 (flattenなどもある) • 以下GroupByの例。分散処理していたものをシーケンシャル処理する際に設定する
詳しくはコチラ https://beam.apache.org/documentation/programming-guide/
デモ
まとめ • ストリーム処理などに手を出そうと考えている人にはよいきっかけになると思う • 構成の自由度が高いので様々なデータをまとめたり中間処理を枝分かれさせたりと GCP の各機能を連携するハブとして有効な機能と思われます • 若干、遅くない?、高くない?といった部分が気になりますが、サーバーレス、 GCPとの相
性など使われる場は増えてゆきそうです
Thanks!