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
Akka Actor - 2016/07/10 Scala関西勉強会発表資料
Search
Kinoko
July 10, 2016
Programming
0
540
Akka Actor - 2016/07/10 Scala関西勉強会発表資料
下記勉強会での発表資料です。
7/10(日) 第3回 Scala関西勉強会 - connpass
http://connpass.com/event/32061/
Kinoko
July 10, 2016
Tweet
Share
More Decks by Kinoko
See All by Kinoko
自作キーボードにチャレンジしてみた。 ver 2.0
sammy7th
0
1.9k
私が考える理想の開発チーム
sammy7th
0
600
ビジネスルールを軸とした ソフトウェア開発手法 「CCSR」
sammy7th
7
2.5k
お家に居れなくなって 3週間ゲストハウス暮らしをしていた話
sammy7th
2
480
家で仕事中にインターフォンに気づかず困っているのでIoTでなんとかしたい
sammy7th
1
150
ホットサンドメーカーで作るスイーツ
sammy7th
0
240
JVM入門 -Javaプログラムが動く仕組み-
sammy7th
35
14k
Udemyでプログラミング の動画講座を販売してみた
sammy7th
1
830
Git運用基礎
sammy7th
1
260
Other Decks in Programming
See All in Programming
SwiftUI Viewの責務分離
elmetal
PRO
2
280
良いコードレビューとは
danimal141
8
4.9k
もう少しテストを書きたいんじゃ〜 #phpstudy
o0h
PRO
19
4.2k
Datadog Workflow Automation で圧倒的価値提供
showwin
1
300
Boos Performance and Developer Productivity with Jakarta EE 11
ivargrimstad
0
540
PRレビューのお供にDanger
stoticdev
1
240
たのしいSocketのしくみ / Socket Under a Microscope
coe401_
8
1.4k
CDKを使ったPagerDuty連携インフラのテンプレート化
shibuya_shogo
0
120
Swift Testingのモチベを上げたい
stoticdev
2
180
お前もAI鬼にならないか?👹Bolt & Cursor & Supabase & Vercelで人間をやめるぞ、ジョジョー!👺
taishiyade
7
4.2k
Generating OpenAPI schema from serializers throughout the Rails stack - Kyobashi.rb #5
envek
1
410
CloudNativePGを布教したい
nnaka2992
0
120
Featured
See All Featured
Building an army of robots
kneath
303
45k
It's Worth the Effort
3n
184
28k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
233
17k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
120k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
40
2k
How to Ace a Technical Interview
jacobian
276
23k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
6
580
The Illustrated Children's Guide to Kubernetes
chrisshort
48
49k
Fantastic passwords and where to find them - at NoRuKo
philnash
51
3k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
30
2.2k
Embracing the Ebb and Flow
colly
84
4.6k
Transcript
Akka Actor Abe Asami
ࣗݾհ Abe Asami “きの子 ” (大阪のフリーランスプログラマ) http://nocono.net/ @aa7th Scala、Andorid(Java/Kotlin)
最近Scala.js書いてます
ࠓͷ༰ • Akka HTTPͷ؆୯ͳઆ໌ • ४උ࣌ؒൃද࣌ؒΓͳͯ͘ఘΊ·͠ ͨ • Akka ͷઆ໌(Actorͷத৺)
Akkaͱ • ActorϞσϧʹΑΔɺฒߦɾࢄॲཧͷͨΊͷ πʔϧΩοτ • ʮBuild powerful concurrent & distributed
applications more easily.ʯ
ActorϞσϧͱ • 1973ɺΧʔϧɾώϡʔΠοτɺPeter Bishopɺ Richard Steiger ͕ൃදͨ͠ฒߦܭࢉͷֶతϞσ ϧͷҰछ (wikipediaΑΓ) •
ErlangͰ࠾༻͞Ε͍ͯΔ • ϝοηʔδύογϯάͱ͔ϝοηʔδۦಈͱ͔ݺ ΕΔํࣜ
ActorͷΈ • ActorϝοηʔδΛૹΔ͜ͱ͕Ͱ͖Δ • Actorʹड͚औͬͨϝοηʔδΛͲ͏ॲཧ͢ Δ͔͕ఆٛ͞Ε͍ͯΔ ϝʔϧΛΠϝʔδ͢ΔͱΘ͔Γ͍͢
ActorͷΈ • ֤ActorϝʔϧϘοΫεΛ͓࣋ͬͯΓɺड͚ औͬͨϝοηʔδҰ୴ϝʔϧϘοΫεʹೖΔ • ϝʔϧϘοΫεͷதͷϝοηʔδॱ࣍ɺఆٛ ͨ͠ॲཧํ๏ʹैͬͯॲཧ͞ΕΔ • ॲཧʹΑΓϒϩοΩϯά͕ൃੜ͠ͳ͍ (ॲཧऴ
ྃΛͨͣɺ࣍ͷϝοηʔδͷॲཧΛߦ͏)
νϡʔτϦΞϧ • typesafehub/activator-hello-akka: Hello, Akka tutorial for Activator • https://github.com/typesafehub/
activator-hello-akka#master
Akkaͷಛ • ฒߦੑ • ઌड़ͷActorʹΑ࣮ͬͯݱ • εέʔϥϏϦςΟ • AkkaRemote, AkkaCluster
• োੑ • ࢠActorΛࢹͯ͠ɺྫ֎ൃੜ࣌ʹ࠶ىಈ • ֘ActorͷΈ or શActor • let it crash
PlayFramework + Akka + Websocket • anhminh1981/anonymous_chat: activator template and
tutorial for using a websocket with Akka actors • https://github.com/anhminh1981/ anonymous_chat#master
ࢀߟࢿྉ • Basics of Akka - http://www.slideshare.net/ mumoshu/basics-of-akka • 2013ScalaؔϏΪφʔζͰͷ
@mumoshu ͞ΜʹΑΔൃදࢿྉ