Introduction of - air.imag.fr · Introduction of Veille Technologique et Strategique 2015 RICM 5...
27
Transcript of Introduction of - air.imag.fr · Introduction of Veille Technologique et Strategique 2015 RICM 5...
![Page 1: Introduction of - air.imag.fr · Introduction of Veille Technologique et Strategique 2015 RICM 5 Polytech Grenoble ZHANG Zhengmeng . Akka is toolkit to a build *concurrent, *distributed,](https://reader035.fdocuments.in/reader035/viewer/2022080718/5f785f7f39112c664b169444/html5/thumbnails/1.jpg)
![Page 2: Introduction of - air.imag.fr · Introduction of Veille Technologique et Strategique 2015 RICM 5 Polytech Grenoble ZHANG Zhengmeng . Akka is toolkit to a build *concurrent, *distributed,](https://reader035.fdocuments.in/reader035/viewer/2022080718/5f785f7f39112c664b169444/html5/thumbnails/2.jpg)
Introduction of
Veille Technologique et Strategique 2015
RICM 5 Polytech Grenoble
ZHANG Zhengmeng
![Page 3: Introduction of - air.imag.fr · Introduction of Veille Technologique et Strategique 2015 RICM 5 Polytech Grenoble ZHANG Zhengmeng . Akka is toolkit to a build *concurrent, *distributed,](https://reader035.fdocuments.in/reader035/viewer/2022080718/5f785f7f39112c664b169444/html5/thumbnails/3.jpg)
Akka toolkit is
to
a build
*concurrent, *distributed, *fault torerant apps.
![Page 4: Introduction of - air.imag.fr · Introduction of Veille Technologique et Strategique 2015 RICM 5 Polytech Grenoble ZHANG Zhengmeng . Akka is toolkit to a build *concurrent, *distributed,](https://reader035.fdocuments.in/reader035/viewer/2022080718/5f785f7f39112c664b169444/html5/thumbnails/4.jpg)
concurrent * Actors
distributed fault
* Remoting torerant * Supervision
![Page 5: Introduction of - air.imag.fr · Introduction of Veille Technologique et Strategique 2015 RICM 5 Polytech Grenoble ZHANG Zhengmeng . Akka is toolkit to a build *concurrent, *distributed,](https://reader035.fdocuments.in/reader035/viewer/2022080718/5f785f7f39112c664b169444/html5/thumbnails/5.jpg)
Actors
![Page 6: Introduction of - air.imag.fr · Introduction of Veille Technologique et Strategique 2015 RICM 5 Polytech Grenoble ZHANG Zhengmeng . Akka is toolkit to a build *concurrent, *distributed,](https://reader035.fdocuments.in/reader035/viewer/2022080718/5f785f7f39112c664b169444/html5/thumbnails/6.jpg)
Merchant
Warrior
![Page 7: Introduction of - air.imag.fr · Introduction of Veille Technologique et Strategique 2015 RICM 5 Polytech Grenoble ZHANG Zhengmeng . Akka is toolkit to a build *concurrent, *distributed,](https://reader035.fdocuments.in/reader035/viewer/2022080718/5f785f7f39112c664b169444/html5/thumbnails/7.jpg)
•
![Page 8: Introduction of - air.imag.fr · Introduction of Veille Technologique et Strategique 2015 RICM 5 Polytech Grenoble ZHANG Zhengmeng . Akka is toolkit to a build *concurrent, *distributed,](https://reader035.fdocuments.in/reader035/viewer/2022080718/5f785f7f39112c664b169444/html5/thumbnails/8.jpg)
![Page 9: Introduction of - air.imag.fr · Introduction of Veille Technologique et Strategique 2015 RICM 5 Polytech Grenoble ZHANG Zhengmeng . Akka is toolkit to a build *concurrent, *distributed,](https://reader035.fdocuments.in/reader035/viewer/2022080718/5f785f7f39112c664b169444/html5/thumbnails/9.jpg)
![Page 10: Introduction of - air.imag.fr · Introduction of Veille Technologique et Strategique 2015 RICM 5 Polytech Grenoble ZHANG Zhengmeng . Akka is toolkit to a build *concurrent, *distributed,](https://reader035.fdocuments.in/reader035/viewer/2022080718/5f785f7f39112c664b169444/html5/thumbnails/10.jpg)
Actors States
Messages
![Page 11: Introduction of - air.imag.fr · Introduction of Veille Technologique et Strategique 2015 RICM 5 Polytech Grenoble ZHANG Zhengmeng . Akka is toolkit to a build *concurrent, *distributed,](https://reader035.fdocuments.in/reader035/viewer/2022080718/5f785f7f39112c664b169444/html5/thumbnails/11.jpg)
Each actor runs concurrently
![Page 12: Introduction of - air.imag.fr · Introduction of Veille Technologique et Strategique 2015 RICM 5 Polytech Grenoble ZHANG Zhengmeng . Akka is toolkit to a build *concurrent, *distributed,](https://reader035.fdocuments.in/reader035/viewer/2022080718/5f785f7f39112c664b169444/html5/thumbnails/12.jpg)
Actors communicate through messages
![Page 13: Introduction of - air.imag.fr · Introduction of Veille Technologique et Strategique 2015 RICM 5 Polytech Grenoble ZHANG Zhengmeng . Akka is toolkit to a build *concurrent, *distributed,](https://reader035.fdocuments.in/reader035/viewer/2022080718/5f785f7f39112c664b169444/html5/thumbnails/13.jpg)
Each actor has state
![Page 14: Introduction of - air.imag.fr · Introduction of Veille Technologique et Strategique 2015 RICM 5 Polytech Grenoble ZHANG Zhengmeng . Akka is toolkit to a build *concurrent, *distributed,](https://reader035.fdocuments.in/reader035/viewer/2022080718/5f785f7f39112c664b169444/html5/thumbnails/14.jpg)
Actors are scalable
![Page 15: Introduction of - air.imag.fr · Introduction of Veille Technologique et Strategique 2015 RICM 5 Polytech Grenoble ZHANG Zhengmeng . Akka is toolkit to a build *concurrent, *distributed,](https://reader035.fdocuments.in/reader035/viewer/2022080718/5f785f7f39112c664b169444/html5/thumbnails/15.jpg)
Too much load!
![Page 16: Introduction of - air.imag.fr · Introduction of Veille Technologique et Strategique 2015 RICM 5 Polytech Grenoble ZHANG Zhengmeng . Akka is toolkit to a build *concurrent, *distributed,](https://reader035.fdocuments.in/reader035/viewer/2022080718/5f785f7f39112c664b169444/html5/thumbnails/16.jpg)
Remoting
![Page 17: Introduction of - air.imag.fr · Introduction of Veille Technologique et Strategique 2015 RICM 5 Polytech Grenoble ZHANG Zhengmeng . Akka is toolkit to a build *concurrent, *distributed,](https://reader035.fdocuments.in/reader035/viewer/2022080718/5f785f7f39112c664b169444/html5/thumbnails/17.jpg)
Server1
It’s O.K.
![Page 18: Introduction of - air.imag.fr · Introduction of Veille Technologique et Strategique 2015 RICM 5 Polytech Grenoble ZHANG Zhengmeng . Akka is toolkit to a build *concurrent, *distributed,](https://reader035.fdocuments.in/reader035/viewer/2022080718/5f785f7f39112c664b169444/html5/thumbnails/18.jpg)
erver1 S
Out of cap
![Page 19: Introduction of - air.imag.fr · Introduction of Veille Technologique et Strategique 2015 RICM 5 Polytech Grenoble ZHANG Zhengmeng . Akka is toolkit to a build *concurrent, *distributed,](https://reader035.fdocuments.in/reader035/viewer/2022080718/5f785f7f39112c664b169444/html5/thumbnails/19.jpg)
Server1 Server2
Remoting
Ditribute across servers
![Page 20: Introduction of - air.imag.fr · Introduction of Veille Technologique et Strategique 2015 RICM 5 Polytech Grenoble ZHANG Zhengmeng . Akka is toolkit to a build *concurrent, *distributed,](https://reader035.fdocuments.in/reader035/viewer/2022080718/5f785f7f39112c664b169444/html5/thumbnails/20.jpg)
Supervision
![Page 21: Introduction of - air.imag.fr · Introduction of Veille Technologique et Strategique 2015 RICM 5 Polytech Grenoble ZHANG Zhengmeng . Akka is toolkit to a build *concurrent, *distributed,](https://reader035.fdocuments.in/reader035/viewer/2022080718/5f785f7f39112c664b169444/html5/thumbnails/21.jpg)
• •
![Page 22: Introduction of - air.imag.fr · Introduction of Veille Technologique et Strategique 2015 RICM 5 Polytech Grenoble ZHANG Zhengmeng . Akka is toolkit to a build *concurrent, *distributed,](https://reader035.fdocuments.in/reader035/viewer/2022080718/5f785f7f39112c664b169444/html5/thumbnails/22.jpg)
Supervisor
Children
![Page 23: Introduction of - air.imag.fr · Introduction of Veille Technologique et Strategique 2015 RICM 5 Polytech Grenoble ZHANG Zhengmeng . Akka is toolkit to a build *concurrent, *distributed,](https://reader035.fdocuments.in/reader035/viewer/2022080718/5f785f7f39112c664b169444/html5/thumbnails/23.jpg)
exception exception
![Page 24: Introduction of - air.imag.fr · Introduction of Veille Technologique et Strategique 2015 RICM 5 Polytech Grenoble ZHANG Zhengmeng . Akka is toolkit to a build *concurrent, *distributed,](https://reader035.fdocuments.in/reader035/viewer/2022080718/5f785f7f39112c664b169444/html5/thumbnails/24.jpg)
restart! restart!
![Page 25: Introduction of - air.imag.fr · Introduction of Veille Technologique et Strategique 2015 RICM 5 Polytech Grenoble ZHANG Zhengmeng . Akka is toolkit to a build *concurrent, *distributed,](https://reader035.fdocuments.in/reader035/viewer/2022080718/5f785f7f39112c664b169444/html5/thumbnails/25.jpg)
Akka is composed tools: of many
actor, testkit, remote, cluster, transactor, agent, zeromq, camel, ...
Just use what you need
![Page 26: Introduction of - air.imag.fr · Introduction of Veille Technologique et Strategique 2015 RICM 5 Polytech Grenoble ZHANG Zhengmeng . Akka is toolkit to a build *concurrent, *distributed,](https://reader035.fdocuments.in/reader035/viewer/2022080718/5f785f7f39112c664b169444/html5/thumbnails/26.jpg)
See:
http://akka.io/docs/
![Page 27: Introduction of - air.imag.fr · Introduction of Veille Technologique et Strategique 2015 RICM 5 Polytech Grenoble ZHANG Zhengmeng . Akka is toolkit to a build *concurrent, *distributed,](https://reader035.fdocuments.in/reader035/viewer/2022080718/5f785f7f39112c664b169444/html5/thumbnails/27.jpg)
Thank you!