Welcome !!
Akka Typed
Presented By : Prabhat Kashyap
2
42
3
Agenda
What is Akka
Untyped API Demo
What new in Typed API
Demo
1
3
My name is Prabhat Kashyap and I am a backend Scala
developer, currently living in New Delhi, India. I have a
master’s degree in computer application and currently
working with Knoldus Inc., which is world’s largest
pure-play Scala Spark services company as a Senior
Software Consultant. I started my career in software
development two and a half years ago and since then
working on Scala.
I am part of the development team responsible for developing
the application of different domain using functional approach.
I also possess the knowledge of Akka, Apache Kafka,
Carbondata and Blockchains. If you want to know more about
me or have a chat, you can connect with me on LinkedIn
https://www.linkedin.com/in/prabhatkashyap92/
@whoami
4
❑ A open source project started by Jonas Bonér in 2009.
❑ Akka’s use of the actor model provides a level of abstraction that makes it easier to write correct concurrent, parallel
and distributed systems.
❑ Consequently, organizations building distributed systems with demanding requirements encounter challenges that
cannot fully be solved with a traditional object-oriented programming (OOP) model, but that can benefit from the
actor model.
What is Akka
5
❑ The actor model was proposed decades ago by Carl Hewitt as a way to handle parallel processing in
a high performance network.
❑ Send a finite number of messages to other actors.
❑ Create a finite number of new actors.
❑ Designate the behavior to be used for the next message it receives.
What is Actor?
6
❑ An actor system manages the resources it is configured to use in order to run the actors which it
contains.
❑ The actor system as a collaborating ensemble of actors is the natural unit for managing shared
facilities like scheduling services, configuration, logging, etc.
What is Actor System?
7
Let’s create an sample untyped actor
application.
8
❑ ActorRef[T]
❑ Behavior
❑ There is no sender() function anymore
What’s new in Akka Typed
9
Let’s create an sample typed actor
application.
1
0
❑ Supervision and Monitoring
❑ Stream
❑ Cluster
❑ Persistence
❑ Testing
What else is there?
1
1
Heiko Seeberger
http://heikoseeberger.rocks
Thanks for Inspiring
1
2
Resources
Akka Documentation
Akka Blogs
1
3
Thank YouHappy Hakking

Welcome Akka Typed - Prabhat Kashyap

  • 1.
    Welcome !! Akka Typed PresentedBy : Prabhat Kashyap
  • 2.
    2 42 3 Agenda What is Akka UntypedAPI Demo What new in Typed API Demo 1
  • 3.
    3 My name isPrabhat Kashyap and I am a backend Scala developer, currently living in New Delhi, India. I have a master’s degree in computer application and currently working with Knoldus Inc., which is world’s largest pure-play Scala Spark services company as a Senior Software Consultant. I started my career in software development two and a half years ago and since then working on Scala. I am part of the development team responsible for developing the application of different domain using functional approach. I also possess the knowledge of Akka, Apache Kafka, Carbondata and Blockchains. If you want to know more about me or have a chat, you can connect with me on LinkedIn https://www.linkedin.com/in/prabhatkashyap92/ @whoami
  • 4.
    4 ❑ A opensource project started by Jonas Bonér in 2009. ❑ Akka’s use of the actor model provides a level of abstraction that makes it easier to write correct concurrent, parallel and distributed systems. ❑ Consequently, organizations building distributed systems with demanding requirements encounter challenges that cannot fully be solved with a traditional object-oriented programming (OOP) model, but that can benefit from the actor model. What is Akka
  • 5.
    5 ❑ The actormodel was proposed decades ago by Carl Hewitt as a way to handle parallel processing in a high performance network. ❑ Send a finite number of messages to other actors. ❑ Create a finite number of new actors. ❑ Designate the behavior to be used for the next message it receives. What is Actor?
  • 6.
    6 ❑ An actorsystem manages the resources it is configured to use in order to run the actors which it contains. ❑ The actor system as a collaborating ensemble of actors is the natural unit for managing shared facilities like scheduling services, configuration, logging, etc. What is Actor System?
  • 7.
    7 Let’s create ansample untyped actor application.
  • 8.
    8 ❑ ActorRef[T] ❑ Behavior ❑There is no sender() function anymore What’s new in Akka Typed
  • 9.
    9 Let’s create ansample typed actor application.
  • 10.
    1 0 ❑ Supervision andMonitoring ❑ Stream ❑ Cluster ❑ Persistence ❑ Testing What else is there?
  • 11.
  • 12.
  • 13.