Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Lodeo x Scala
Search
yutaono
May 16, 2016
Technology
1
540
Lodeo x Scala
@adtech x scala meetup 2016-05-16
yutaono
May 16, 2016
Tweet
Share
More Decks by yutaono
See All by yutaono
Lazy Instantiation for Object
yutaono
1
77
Other Decks in Technology
See All in Technology
自社サービスのための独自リリース版Redmine「RedMica」の取り組み
vividtone
0
1.3k
2024年のナビゲーション・フォーカス対応:Composeでキーボード・ナビゲーションをサポートしよう
tahia910
0
110
ロボットアームを遠隔制御の話 & LLMをつかったIoTの話もしたい
soracom
PRO
1
380
DroidKaigi 2024 たすけて!ViewModel
mhidaka
5
880
『GRANBLUE FANTASY Relink』ソフトウェアラスタライザによる実践的なオクルージョンカリング
cygames
0
140
CRTO/CRTL/OSEPの比較・勉強法とAV/EDRの検知実験
chayakonanaika
1
1.1k
Developer Experienceを向上させる基盤づくりの取り組み事例集
coconala_engineer
0
140
とあるOSSを継続可能にするための取り組みについて / OSS Refactoring Process
bun913
1
190
Technical Writing Meetup vol.35
soracom
PRO
2
110
サーバレスでモバイルアプリ開発! NTTコム「ビジネスdアプリ」のアーキテクチャ / The architecture of business d app
nttcom
12
240
効果的なオンコール対応と障害対応
ryuichi1208
5
2.9k
再考 アクターモデル/ reconsider actor model
ytake
0
310
Featured
See All Featured
RailsConf 2023
tenderlove
28
810
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
89
16k
GitHub's CSS Performance
jonrohan
1029
450k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
157
15k
Scaling GitHub
holman
458
140k
Build The Right Thing And Hit Your Dates
maggiecrowley
30
2.3k
How GitHub (no longer) Works
holman
310
140k
A better future with KSS
kneath
235
17k
What the flash - Photography Introduction
edds
67
11k
StorybookのUI Testing Handbookを読んだ
zakiyama
26
5.1k
The Power of CSS Pseudo Elements
geoffreycrofte
71
5.3k
Music & Morning Musume
bryan
46
6k
Transcript
LODEO x Scala Yuta Ono CyberAgent, Inc. 2016.05.16 adtech x
scala meetup
ABOUT ME • Yuta Ono • CyberAgent, Inc. Adtech Studio
• Server-Side Engineer • Scala 2 years 2014.05-10 2014.11-
AGENDA • Lodeo Business • Lodeo Tech • AdTech x
Scala
None
https://www.cyberagent.co.jp/ir/personal/adtech/adtech_05/
Lodeo Brand • φγϣφϧΫϥΠΞϯτ༷͚ • ࢹௌ՝ۚ (Cost Per View) •
TVCMૉࡐͷεϚϗ࠷దͳฤू
Lodeo Dynamic • େྔͷσʔλΛ͍࣋ͬͯΔΫϥ ΠΞϯτ͚ • μΠφϛοΫಈըϦλʔήςΟϯά • ΫϦοΫ՝ۚ(Cost Per
Click) • ςϯϓϨʔτͷࡱӨ͔Β੍࡞
None
Lodeo Tech
Architecture
movie-director mark movie-generator aerospike S3 ad-deliver measurement
Spray
Spray • Akka ্ʹ࣮͞Εͨ client & server-side REST/HTTP ϥΠϒϥϦ •
non-blocking • kamon + datadog monitoring
http://adtech.cyberagent.io/scalablog/2015/09/24/kamon_datadog_akka_performance/
None
Spark • ߴͳ൚༻ΫϥελܭࢉγεςϜ • ΦϯϝϞϦͷܭࢉʹΑΓߴ • ߴϨϕϧͳAPI͕๛ • ػցֶशͷ׆༻Apache Zeppelin
ʹΑΔΞυϗοΫͳੳࢹʹ ೖΕͯબ
Spark Streaming x Kafka • batch data Ͱͳ͘ stream data
Λ࣮࣌ؒͰॲཧ • Kafka: ࢄϝοηʔδϯάγεςϜ • Spark WebUI ʹΑΓॲཧঢ়گΛϞχλϦϯά http://spark.apache.org/docs/latest/streaming-programming-guide.html
None
video-generator video-director ad-deliver mark aerospike S3 measurement
Adtech x Scala
adtech x scala • ੩తܕ͚͕େن։ൃͰ҆৺ • ฒྻॲཧฒྻϥΠϒϥϦ͕๛ • γʔέϯεσʔλʹର͢ΔߴϨϕϧAPIͷαϙʔτ =>
Practical and Fun val fibs: Stream[Int] = 0 #:: fibs.scanLeft(1)(_ + _) http://www.luigip.com/?p=200
adtech x scala • Learning Curve • Symbols • DIS
Learning Curve • νϟοτͰؾܰʹฉ͘(ใ: http://c16e.com/1511101558/) ϖΞϓϩ • ελϯυΞοϓϛʔςΟϯάͰ࣌ؒΛઃ͚Δ • =>
ͲͷลΓ·ͰFunctional Programming Λҙࣝ͢Δ͔ΛνʔϜͰҙࣝ http://baddotrobot.com/blog/2014/11/25/scala-learning-curve/ Solution
Symbols • googleability /:, \/-, @@ … • Martin
Odersky ࢯ New Year Resolutions | The Scala Programming Language http:// www.scala-lang.org/blog/2016/01/02/new-year-resolutions.html ͷதͰݴٴ • ͔ͭΘͳ͍ • Document • νʔϜͰ࡞ɾڞ༗ձ • http://scala-search.org/ • http://xuwei-k.github.io/scalaz-docs/ • ⚠ ADD(MUL(10, 5), 5) ΑΓ 10 * 5 + 5 Θ͔Γ͍͢ • => νʔϜͰબ Solution
DIS • Java Dis • FP Dis • Beginner Dis
Conclusion • Lodeo Business: Brand & Dynamic • Lodeo Tech:
Spray & Spark Streaming • adtech x scala • Practical & Fun • OOP & FP ͷόϥϯεΛνʔϜͰऔΔ
Scala Days 2016 in NY • 2016/05/09~11 • Scala Center,
Dotty, Microservices …etc • Scala Blog http://adtech.cyberagent.io/scalablog/ category/scaladays/
WE’RE HIRING!
[email protected]
Q/A