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
530
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.6k
私が考える理想の開発チーム
sammy7th
0
490
ビジネスルールを軸とした ソフトウェア開発手法 「CCSR」
sammy7th
7
2.3k
お家に居れなくなって 3週間ゲストハウス暮らしをしていた話
sammy7th
2
410
家で仕事中にインターフォンに気づかず困っているのでIoTでなんとかしたい
sammy7th
1
110
ホットサンドメーカーで作るスイーツ
sammy7th
0
200
JVM入門 -Javaプログラムが動く仕組み-
sammy7th
30
11k
Udemyでプログラミング の動画講座を販売してみた
sammy7th
1
670
Git運用基礎
sammy7th
1
240
Other Decks in Programming
See All in Programming
Migrating to Signals: A Practical Workshop
manfredsteyer
PRO
0
280
LPIXEL×CADDi_kaerururu
kaerururu
3
300
WebComponentsで フレームワークを1ページに共存させる
webuilder240
0
150
Data Contracts In Practice With Debezium and Apache Flink (Kafka Summit London)
gunnarmorling
2
270
The Future of C++ Interoperability: Insights from Porting a Game to Swift
teamhimeh
0
270
15分間でふんわり理解するDocker @ Matsuriba MAX
ukwhatn
PRO
1
340
今の SmartHR にエンジニアで入社するとどうなるの?
daisukeshinoku
1
100
TCA魔法学入門🪄
dazy
0
280
マイ隙間家具OSSたちのご紹介
karupanerura
2
150
OpenTelemetry のサービスという概念について
azukiazusa1
1
390
孤独のCTOグルメという やや奇抜な企画をやった目的と効果
shoheimitani
3
1k
Open Source Swift Workshop - Foundation and first party libraries
ikesyo
0
180
Featured
See All Featured
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
39
4.3k
WebSockets: Embracing the real-time Web
robhawkes
59
6.9k
Agile that works and the tools we love
rasmusluckow
323
20k
Automating Front-end Workflow
addyosmani
1353
200k
A Tale of Four Properties
chriscoyier
150
22k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
8
8.2k
What's in a price? How to price your products and services
michaelherold
236
11k
Building a Scalable Design System with Sketch
lauravandoore
455
32k
How To Stay Up To Date on Web Technology
chriscoyier
781
250k
How STYLIGHT went responsive
nonsquared
92
4.7k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
28
5.9k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
1
3.3k
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 ͞ΜʹΑΔൃදࢿྉ