Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Welcome Akka Typed - Prabhat Kashyap

Akka has become a very successful platform for building reactive systems.  At its core, the Akka-actor module implements the actor model. Surprisingly enough, although Scala and Java are type-safe languages, Akka actors are untyped. This means that we can only handle specific ones - the compiler is not ready to help us.

This pdf will walk through how to add the type parameter to the ActorRef and reduces the runtime error.

  • Login to see the comments

  • Be the first to like this

Welcome Akka Typed - Prabhat Kashyap

  1. 1. Welcome !! Akka Typed Presented By : Prabhat Kashyap
  2. 2. 2 42 3 Agenda What is Akka Untyped API Demo What new in Typed API Demo 1
  3. 3. 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. 4. 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. 5. 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. 6. 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. 7. 7 Let’s create an sample untyped actor application.
  8. 8. 8 ❑ ActorRef[T] ❑ Behavior ❑ There is no sender() function anymore What’s new in Akka Typed
  9. 9. 9 Let’s create an sample typed actor application.
  10. 10. 1 0 ❑ Supervision and Monitoring ❑ Stream ❑ Cluster ❑ Persistence ❑ Testing What else is there?
  11. 11. 1 1 Heiko Seeberger http://heikoseeberger.rocks Thanks for Inspiring
  12. 12. 1 2 Resources Akka Documentation Akka Blogs
  13. 13. 1 3 Thank YouHappy Hakking

×