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
580
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
社内イベント管理システムを1週間でAKSからACAに移行した話し
shingo_kawahara
0
190
私なりのAIのご紹介 [2024年版]
qt_luigi
1
120
事業貢献を考えるための技術改善の目標設計と改善実績 / Targeted design of technical improvements to consider business contribution and improvement performance
oomatomo
0
100
MLOps の現場から
asei
7
650
re:Invent 2024 Innovation Talks(NET201)で語られた大切なこと
shotashiratori
0
320
Oracle Cloudの生成AIサービスって実際どこまで使えるの? エンジニア目線で試してみた
minorun365
PRO
4
290
alecthomas/kong はいいぞ / kamakura.go#7
fujiwara3
1
300
普通のエンジニアがLaravelコアチームメンバーになるまで
avosalmon
0
110
NW-JAWS #14 re:Invent 2024(予選落ち含)で 発表された推しアップデートについて
nagisa53
0
270
多領域インシデントマネジメントへの挑戦:ハードウェアとソフトウェアの融合が生む課題/Challenge to multidisciplinary incident management: Issues created by the fusion of hardware and software
bitkey
PRO
2
110
継続的にアウトカムを生み出し ビジネスにつなげる、 戦略と運営に対するタイミーのQUEST(探求)
zigorou
0
600
サービスでLLMを採用したばっかりに振り回され続けたこの一年のあれやこれや
segavvy
2
490
Featured
See All Featured
Rails Girls Zürich Keynote
gr2m
94
13k
Facilitating Awesome Meetings
lara
50
6.1k
[RailsConf 2023] Rails as a piece of cake
palkan
53
5k
Into the Great Unknown - MozCon
thekraken
33
1.5k
VelocityConf: Rendering Performance Case Studies
addyosmani
326
24k
What's in a price? How to price your products and services
michaelherold
243
12k
Put a Button on it: Removing Barriers to Going Fast.
kastner
59
3.6k
A designer walks into a library…
pauljervisheath
204
24k
Embracing the Ebb and Flow
colly
84
4.5k
Intergalactic Javascript Robots from Outer Space
tanoku
270
27k
RailsConf 2023
tenderlove
29
940
Dealing with People You Can't Stand - Big Design 2015
cassininazir
365
25k
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