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
480
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
76
Other Decks in Technology
See All in Technology
AWS認定資格を取得したので、初めてマネコンを触った時を振り返ってみた。
ainatsuptr
2
100
4年前、あるじゃん老害エンジニアLT合戦に登壇、米国西海岸コンピュータ歴史博物館体験記の続編
toshi_atsumi
0
220
サーバー間 GraphQL と webmock-graphql の話 / server-to-server graphql and webmock-graphql
qsona
2
170
検証を通して見えてきたTiDBの性能特性
lycorptech_jp
PRO
6
3.7k
開発生産性大幅アップ!Postman VS Code拡張機能
nagix
2
350
レガシーをぶっ壊せ。AEONで始めるDevRelの話 / Qiita Night 2024-2-22
aeonpeople
3
1.2k
[PlatformCon 24] Platform Orchestrators: The Missing Middle of Internal Developer Platforms?
danielbryantuk
1
790
FrontDoorとWebAppsを組み合わせた際のリダイレクト処理の注意点
kenichirokimura
1
440
長期間TiDBを使ってきた話 @ 私たちはなぜNewSQLを使うのかTiDB選定5社が語る選定理由と活用LT / Experiences with TiDB Over Time
chibiegg
2
850
WebアプリケーションにおけるPDOの使い方入門 / phpcon odawara 2024
meihei3
2
440
プラットフォームってつくることより計測することが重要なんじゃないかという話 / Platform Engineering Meetup #8
taishin
0
320
Compose Compiler Metricsを使った実践的なコードレビュー
tomorrowkey
1
210
Featured
See All Featured
[RailsConf 2023] Rails as a piece of cake
palkan
22
3.9k
Stop Working from a Prison Cell
hatefulcrawdad
266
19k
Atom: Resistance is Futile
akmur
258
25k
The Language of Interfaces
destraynor
151
23k
Gamification - CAS2011
davidbonilla
76
4.6k
Infographics Made Easy
chrislema
238
18k
It's Worth the Effort
3n
180
27k
Music & Morning Musume
bryan
41
5.6k
Designing Experiences People Love
moore
136
23k
Side Projects
sachag
451
41k
The Cost Of JavaScript in 2023
addyosmani
15
3.8k
Rails Girls Zürich Keynote
gr2m
91
13k
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