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
610
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
82
Other Decks in Technology
See All in Technology
滅・サービスクラス🔥 / Destruction Service Class
sinsoku
6
1.6k
スタートアップ1人目QAエンジニアが QAチームを立ち上げ、“個”からチーム、 そして“組織”に成長するまで / How to set up QA team at reiwatravel
mii3king
2
1.5k
偶然 × 行動で人生の可能性を広げよう / Serendipity × Action: Discover Your Possibilities
ar_tama
1
1.1k
クラウドサービス事業者におけるOSS
tagomoris
1
820
Helm , Kustomize に代わる !? 次世代 k8s パッケージマネージャー Glasskube 入門 / glasskube-entry
parupappa2929
0
250
Cloud Spanner 導入で実現した快適な開発と運用について
colopl
1
660
【Developers Summit 2025】プロダクトエンジニアから学ぶ、 ユーザーにより高い価値を届ける技術
niwatakeru
2
1.4k
データマネジメントのトレードオフに立ち向かう
ikkimiyazaki
6
980
全文検索+セマンティックランカー+LLMの自然文検索サ−ビスで得られた知見
segavvy
2
110
The Future of SEO: The Impact of AI on Search
badams
0
200
Developer Summit 2025 [14-D-1] Yuki Hattori
yuhattor
19
6.2k
Nekko Cloud、 これまでとこれから ~学生サークルが作る、 小さなクラウド
logica0419
2
970
Featured
See All Featured
A Tale of Four Properties
chriscoyier
158
23k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
53k
Designing for Performance
lara
604
68k
Building Your Own Lightsaber
phodgson
104
6.2k
Building a Scalable Design System with Sketch
lauravandoore
461
33k
The Power of CSS Pseudo Elements
geoffreycrofte
75
5.5k
The Cost Of JavaScript in 2023
addyosmani
47
7.3k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
44
7k
Visualization
eitanlees
146
15k
Designing on Purpose - Digital PM Summit 2013
jponch
117
7.1k
How STYLIGHT went responsive
nonsquared
98
5.4k
Fashionably flexible responsive web design (full day workshop)
malarkey
406
66k
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