SlideShare une entreprise Scribd logo
1  sur  43
Télécharger pour lire hors ligne
Akka & Actor Model
Produced by Tae Young Lee
Akka
Akka is a toolkit for building
Concurrent
Distributed
Fault-Tolerant
Actors
Remoting
Supervision
yetu는 스마트 홈에 새로운 서비스의 모든 종류의 오픈 인터넷 플랫폼
Jeff Lee
Jeff Lee
Jeff Lee
Jeff Lee
Jeff Lee
Jeff Lee
Jeff Lee
Jeff Lee
Jeff Lee
Jeff Lee
Reactive Architecture
action reaction
response
Event
너 요즘
왜 그래
내가 뭐
아니 그냥
resilent
scalable
1
2
3
4
Reactive Architecture
• Reactive Programming ≒ Functional Programming
• Functional Programming
– 데이터 뿐만이 아니라 행위도 인자값으로 전달하는 프
로그래밍 패러다임
• 4 Reactive Principles
– 1. Event-Driven 이벤트 기반의 비동기 통신
– 2. Scalable 수요에 맞게 쉽게 확장 및 업그레이드
– 3. Resilient (Fault Tolerance)
– 4. Responsive 적절한 응답 및 빠른 반응 속도
ACTORS
Actors
• From a 1973 paper, written by Carl Hewitt
• Erlang, Occam, Oz
• Encapsulate state and behavior
• Implement Message-Passing Concurrency
Actor란?
• 액터는 메시지를 수신하고 그에 대한 행
위를 함께 전달하는 에이전트이다. 행위
의 종류에는 다음과 같은 것이있다.
– 메시지를 자신 또는 다른 액터에 전송한다.
– 액터를 생성한다.
– 다음의 행동 (replacement behavior)을 규
정한다.
• 액터는 메시지를 수신하기 위해 하나의
사서함을 가진다. 메시지는 액터에 직접
전달되지 않고 사서함에 간접적으로 전달
된다. 사서함은 버퍼링 기능이 있으나, 메
시지는 FIFO로 처리되는 것은 아니다.
• 액터가 메시지를 받으면 일단 잠금상태가
된다. 잠기면 메시지는 처리되지 않는다.
다음 액터가 become이 되면 새로운 후계
액터가 동일한 사서함에서 메시지를 읽고
처리를 계속한다.
1
0 Define
2
3
4 Supervise
0. DEFINE
0. DEFINE
1. CREATE
1. CREATE
ActorLifeCycle
Reference Site
http://www.slideshare.net/jboner/build
ing-reactive-applications-with-akka-in-
scala

Contenu connexe

Plus de Tae Young Lee

검색엔진에 적용된 ChatGPT
검색엔진에 적용된 ChatGPT검색엔진에 적용된 ChatGPT
검색엔진에 적용된 ChatGPTTae Young Lee
 
검색엔진에 적용된 딥러닝 모델 방법론
검색엔진에 적용된 딥러닝 모델 방법론검색엔진에 적용된 딥러닝 모델 방법론
검색엔진에 적용된 딥러닝 모델 방법론Tae Young Lee
 
The Deep Learning Compiler
The Deep Learning CompilerThe Deep Learning Compiler
The Deep Learning CompilerTae Young Lee
 
History of Vision AI
History of Vision AIHistory of Vision AI
History of Vision AITae Young Lee
 
Enhanced ai platform
Enhanced ai platformEnhanced ai platform
Enhanced ai platformTae Young Lee
 
Real estate trust solution
Real estate trust solutionReal estate trust solution
Real estate trust solutionTae Young Lee
 
Transfer learning usage
Transfer learning usageTransfer learning usage
Transfer learning usageTae Young Lee
 
Create a solution including deep learning models
Create a solution including deep learning modelsCreate a solution including deep learning models
Create a solution including deep learning modelsTae Young Lee
 
Infra as a model service
Infra as a model serviceInfra as a model service
Infra as a model serviceTae Young Lee
 
Deep learning financial product recommendation model
Deep learning financial product recommendation modelDeep learning financial product recommendation model
Deep learning financial product recommendation modelTae Young Lee
 
Deep Learning Through Various Processes
Deep Learning Through Various ProcessesDeep Learning Through Various Processes
Deep Learning Through Various ProcessesTae Young Lee
 
Reinforcement learning
Reinforcement learningReinforcement learning
Reinforcement learningTae Young Lee
 
금융분야 취업을 위한 커리어 설계
금융분야 취업을 위한 커리어 설계금융분야 취업을 위한 커리어 설계
금융분야 취업을 위한 커리어 설계Tae Young Lee
 

Plus de Tae Young Lee (20)

검색엔진에 적용된 ChatGPT
검색엔진에 적용된 ChatGPT검색엔진에 적용된 ChatGPT
검색엔진에 적용된 ChatGPT
 
검색엔진에 적용된 딥러닝 모델 방법론
검색엔진에 적용된 딥러닝 모델 방법론검색엔진에 적용된 딥러닝 모델 방법론
검색엔진에 적용된 딥러닝 모델 방법론
 
PaLM Paper Review
PaLM Paper ReviewPaLM Paper Review
PaLM Paper Review
 
The Deep Learning Compiler
The Deep Learning CompilerThe Deep Learning Compiler
The Deep Learning Compiler
 
History of Vision AI
History of Vision AIHistory of Vision AI
History of Vision AI
 
Aws architecture
Aws architectureAws architecture
Aws architecture
 
Enhanced ai platform
Enhanced ai platformEnhanced ai platform
Enhanced ai platform
 
Nvidia architecture
Nvidia architectureNvidia architecture
Nvidia architecture
 
Ai based on gpu
Ai based on gpuAi based on gpu
Ai based on gpu
 
Real estate trust solution
Real estate trust solutionReal estate trust solution
Real estate trust solution
 
Transfer learning usage
Transfer learning usageTransfer learning usage
Transfer learning usage
 
Create a solution including deep learning models
Create a solution including deep learning modelsCreate a solution including deep learning models
Create a solution including deep learning models
 
Infra as a model service
Infra as a model serviceInfra as a model service
Infra as a model service
 
Bayesian learning
Bayesian learningBayesian learning
Bayesian learning
 
Deep learning financial product recommendation model
Deep learning financial product recommendation modelDeep learning financial product recommendation model
Deep learning financial product recommendation model
 
Deep Learning Through Various Processes
Deep Learning Through Various ProcessesDeep Learning Through Various Processes
Deep Learning Through Various Processes
 
Reinforcement learning
Reinforcement learningReinforcement learning
Reinforcement learning
 
Jenkins in finance
Jenkins in financeJenkins in finance
Jenkins in finance
 
HistoryOfCNN
HistoryOfCNNHistoryOfCNN
HistoryOfCNN
 
금융분야 취업을 위한 커리어 설계
금융분야 취업을 위한 커리어 설계금융분야 취업을 위한 커리어 설계
금융분야 취업을 위한 커리어 설계
 

Akka & Actor model