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
730
1
Share
Lodeo x Scala
@adtech x scala meetup 2016-05-16
yutaono
May 16, 2016
More Decks by yutaono
See All by yutaono
Lazy Instantiation for Object
yutaono
1
100
Other Decks in Technology
See All in Technology
権限管理設計を完全に理解した
rsugi
2
230
AI時代から振り返るTerraform drift運用の歴史 / AI Age Reflections on the History of Terraform Drift Operations
aeonpeople
0
580
シンデレラなんかになりたくない!ガラスの靴が割れた時代にどう歩く?
nomizone
0
220
『家族アルバム みてね』における インシデント対応との向き合い方 / Approach incident response in Family Album
kohbis
2
250
TROCCOで始めるクラウドコストを民主化するためのFinOps
tk3fftk
1
280
ITエンジニアを取り巻く環境とキャリアパス / A career path for Japanese IT engineers
takatama
4
1.8k
layerx-fde-practices
cipepser
6
2.9k
Datadog 認定試験の概要と対策
uechishingo
0
180
組織の中で自分を経営する技術
shoota
0
220
AI駆動開発でなんでもハンズオン環境をつくってみた
yoshimi0227
0
170
Generative UI × A2UI で AI エージェントを作った話 AI-DLC も使ってみた!
kmiya84377
1
270
APIテストとは?
nagix
0
150
Featured
See All Featured
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
122
22k
Making the Leap to Tech Lead
cromwellryan
135
9.9k
Paper Plane (Part 1)
katiecoart
PRO
0
8k
Making Projects Easy
brettharned
120
6.6k
How to build a perfect <img>
jonoalderson
1
5.5k
Raft: Consensus for Rubyists
vanstee
141
7.5k
Docker and Python
trallard
47
3.9k
Everyday Curiosity
cassininazir
0
210
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.5k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
28
3.5k
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