Fundamentals
Of Akka
Presented By: Manjot Kaur
Software Consultant
Knoldus Inc.
LEARN NOW
01 Akka : Introduction
02 The Actor Model
03 Akka Actors
04 Example
05 Challenges That Akka
solve.
Today’s Agenda
Akka
● Akka is a toolkit for building highly
concurrent, distributed, and resilient
message-driven applications for Java
and Scala.
● The actor model was proposed decades ago by Carl Hewitt.
● It is a conceptual model to deal with concurrent computation.
.
● 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.
The Actor Model
The Actor Model
●
The Actor Model
● Create more actors.
● Send messages to other actors
.
● Designate what to do with the next
message
The Actor Model
The Actor Model
The Actor Model
Akka Actor
● There are many implementations of the Actor model : the most popular ones being Erlang/Elixir and Akka
● To get started with Akka we need to add the following dependency in build.sbt
libraryDependencies += "com.typesafe.akka" % "akka-actor_2.11" % "2.4.14"
Akka Actor : Example
Akka Actor : Example
● Behavior
● Actor Reference
● State
● Mailbox
● ChildActor
● Supervision Strategy
Akka : Ask and Tell
Messages are sent to an Actor through one of the following methods.
● ! means “fire-and-forget”, e.g. send a message asynchronously and return immediately. Also known as tell.
● ? sends a message asynchronously and returns a representing a possible reply. Also known as ask.
Top Level Actor Architecture
Challenges That Akka Solves
● Multi-threaded behavior without the use of low-level concurrency constructs like atomics or locks — relieving you
from even thinking about memory visibility issues.
● Transparent remote communication between systems and their components — relieving you from writing and
maintaining difficult networking code.
● A clustered, high-availability architecture that is elastic, scales in or out, on demand — enabling you to deliver a
truly reactive system.
References
● https://doc.akka.io/docs/akka/2.5/actors.html
● https://www.brianstorti.com/the-actor-model/
● https://bartoszsypytkowski.com/dont-ask-tell-2/
Thank You! Stay in Touch
info@knoldus.com
@Knolspea
k
www.knoldus.com
+(1) 647-467-4396

More Related Content

PDF
You Used To Inject Me In Your Constructor
PPTX
Fp and scala
PPTX
Adapter Design Pattern
PDF
EK127S15HW2
PDF
Dive into Akka Actors
PDF
Basic React Knowledge.
PDF
[CocoaHeads Tricity] Andrzej Dąbrowski - Dependency injection and testable ar...
PDF
Workflow as code with Azure Durable Functions
You Used To Inject Me In Your Constructor
Fp and scala
Adapter Design Pattern
EK127S15HW2
Dive into Akka Actors
Basic React Knowledge.
[CocoaHeads Tricity] Andrzej Dąbrowski - Dependency injection and testable ar...
Workflow as code with Azure Durable Functions

What's hot (20)

PDF
Coinffeine in BetaBeers
PPTX
Basic React Knowledge.
PPTX
Discovering the Service Fabric's actor model
PDF
Scala Programming Introduction
PPTX
SOA with PHP and Symfony
PDF
Durable Functions vs Logic App : la guerra dei workflow!!
PPTX
JavaScript Fundamentals
PDF
Introducing Ruby/MVC/RoR
PDF
Advanced application architecture
PDF
Full-Stack, Message-oriented Programming w/ Akka.NET Actors
PPT
Linq
PDF
Distributed Computing
PDF
C# Advanced L06-SQL Server+LINQ to SQL
PPTX
Evolving your api architecture with the strangler pattern
PDF
Empower every Azure Function to achieve more!!
DOC
Karanchanana
PDF
Xtend - better java with -less- noise
PDF
Stateful pattern con Azure Functions
PDF
Android course session 1 ( intoduction to java )
PDF
Akka - A Brief Intro
Coinffeine in BetaBeers
Basic React Knowledge.
Discovering the Service Fabric's actor model
Scala Programming Introduction
SOA with PHP and Symfony
Durable Functions vs Logic App : la guerra dei workflow!!
JavaScript Fundamentals
Introducing Ruby/MVC/RoR
Advanced application architecture
Full-Stack, Message-oriented Programming w/ Akka.NET Actors
Linq
Distributed Computing
C# Advanced L06-SQL Server+LINQ to SQL
Evolving your api architecture with the strangler pattern
Empower every Azure Function to achieve more!!
Karanchanana
Xtend - better java with -less- noise
Stateful pattern con Azure Functions
Android course session 1 ( intoduction to java )
Akka - A Brief Intro
Ad

Similar to Fundamentals of Akka - Webinar (20)

PDF
Introduction to Akka
PDF
Akka introtalk HyScala DEC 2016
PDF
Reactive programming with akka
PDF
Akka-intro-training-public.pdf
PDF
Introducing Akka
PDF
Actor Model Akka Framework
PPTX
Akka Fundamentals
PDF
Akka in Action: Heiko Seeburger
PDF
Akka Actors: an Introduction
PDF
Introduction to Akka
PDF
Daniela Sfregola - Intro to Akka
PDF
Akka and futures
PPTX
Nairobi JVM meetup : Introduction to akka
 
PDF
Introduction to akka actors with java 8
PDF
Scala Italy 2015 - An Introduction to Akka and the Actor Based Model
PDF
Introduction to the Actor Model
PDF
Build Cloud Applications with Akka and Heroku
PPTX
Concurrent processing and distributed computing
PDF
An Introduction to Akka
PDF
Model with actors and implement with Akka
Introduction to Akka
Akka introtalk HyScala DEC 2016
Reactive programming with akka
Akka-intro-training-public.pdf
Introducing Akka
Actor Model Akka Framework
Akka Fundamentals
Akka in Action: Heiko Seeburger
Akka Actors: an Introduction
Introduction to Akka
Daniela Sfregola - Intro to Akka
Akka and futures
Nairobi JVM meetup : Introduction to akka
 
Introduction to akka actors with java 8
Scala Italy 2015 - An Introduction to Akka and the Actor Based Model
Introduction to the Actor Model
Build Cloud Applications with Akka and Heroku
Concurrent processing and distributed computing
An Introduction to Akka
Model with actors and implement with Akka
Ad

More from Knoldus Inc. (20)

PPTX
Angular Hydration Presentation (FrontEnd)
PPTX
Optimizing Test Execution: Heuristic Algorithm for Self-Healing
PPTX
Self-Healing Test Automation Framework - Healenium
PPTX
Kanban Metrics Presentation (Project Management)
PPTX
Java 17 features and implementation.pptx
PPTX
Chaos Mesh Introducing Chaos in Kubernetes
PPTX
GraalVM - A Step Ahead of JVM Presentation
PPTX
Nomad by HashiCorp Presentation (DevOps)
PPTX
Nomad by HashiCorp Presentation (DevOps)
PPTX
DAPR - Distributed Application Runtime Presentation
PPTX
Introduction to Azure Virtual WAN Presentation
PPTX
Introduction to Argo Rollouts Presentation
PPTX
Intro to Azure Container App Presentation
PPTX
Insights Unveiled Test Reporting and Observability Excellence
PPTX
Introduction to Splunk Presentation (DevOps)
PPTX
Code Camp - Data Profiling and Quality Analysis Framework
PPTX
AWS: Messaging Services in AWS Presentation
PPTX
Amazon Cognito: A Primer on Authentication and Authorization
PPTX
ZIO Http A Functional Approach to Scalable and Type-Safe Web Development
PPTX
Managing State & HTTP Requests In Ionic.
Angular Hydration Presentation (FrontEnd)
Optimizing Test Execution: Heuristic Algorithm for Self-Healing
Self-Healing Test Automation Framework - Healenium
Kanban Metrics Presentation (Project Management)
Java 17 features and implementation.pptx
Chaos Mesh Introducing Chaos in Kubernetes
GraalVM - A Step Ahead of JVM Presentation
Nomad by HashiCorp Presentation (DevOps)
Nomad by HashiCorp Presentation (DevOps)
DAPR - Distributed Application Runtime Presentation
Introduction to Azure Virtual WAN Presentation
Introduction to Argo Rollouts Presentation
Intro to Azure Container App Presentation
Insights Unveiled Test Reporting and Observability Excellence
Introduction to Splunk Presentation (DevOps)
Code Camp - Data Profiling and Quality Analysis Framework
AWS: Messaging Services in AWS Presentation
Amazon Cognito: A Primer on Authentication and Authorization
ZIO Http A Functional Approach to Scalable and Type-Safe Web Development
Managing State & HTTP Requests In Ionic.

Recently uploaded (20)

PDF
Visual explanation of Dijkstra's Algorithm using Python
PDF
AI/ML Infra Meetup | LLM Agents and Implementation Challenges
PDF
Introduction to Ragic - #1 No Code Tool For Digitalizing Your Business Proces...
PDF
Workplace Software and Skills - OpenStax
PPTX
MLforCyber_MLDataSetsandFeatures_Presentation.pptx
PDF
BoxLang Dynamic AWS Lambda - Japan Edition
PDF
MCP Security Tutorial - Beginner to Advanced
PDF
Ableton Live Suite for MacOS Crack Full Download (Latest 2025)
PPTX
Introduction to Windows Operating System
PDF
How Tridens DevSecOps Ensures Compliance, Security, and Agility
PDF
AI-Powered Threat Modeling: The Future of Cybersecurity by Arun Kumar Elengov...
PDF
Guide to Food Delivery App Development.pdf
PPTX
Download Adobe Photoshop Crack 2025 Free
PPTX
Airline CRS | Airline CRS Systems | CRS System
PDF
Type Class Derivation in Scala 3 - Jose Luis Pintado Barbero
PPTX
CNN LeNet5 Architecture: Neural Networks
PPTX
WiFi Honeypot Detecscfddssdffsedfseztor.pptx
PDF
CCleaner 6.39.11548 Crack 2025 License Key
PDF
AI/ML Infra Meetup | Beyond S3's Basics: Architecting for AI-Native Data Access
PPTX
Cybersecurity-and-Fraud-Protecting-Your-Digital-Life.pptx
Visual explanation of Dijkstra's Algorithm using Python
AI/ML Infra Meetup | LLM Agents and Implementation Challenges
Introduction to Ragic - #1 No Code Tool For Digitalizing Your Business Proces...
Workplace Software and Skills - OpenStax
MLforCyber_MLDataSetsandFeatures_Presentation.pptx
BoxLang Dynamic AWS Lambda - Japan Edition
MCP Security Tutorial - Beginner to Advanced
Ableton Live Suite for MacOS Crack Full Download (Latest 2025)
Introduction to Windows Operating System
How Tridens DevSecOps Ensures Compliance, Security, and Agility
AI-Powered Threat Modeling: The Future of Cybersecurity by Arun Kumar Elengov...
Guide to Food Delivery App Development.pdf
Download Adobe Photoshop Crack 2025 Free
Airline CRS | Airline CRS Systems | CRS System
Type Class Derivation in Scala 3 - Jose Luis Pintado Barbero
CNN LeNet5 Architecture: Neural Networks
WiFi Honeypot Detecscfddssdffsedfseztor.pptx
CCleaner 6.39.11548 Crack 2025 License Key
AI/ML Infra Meetup | Beyond S3's Basics: Architecting for AI-Native Data Access
Cybersecurity-and-Fraud-Protecting-Your-Digital-Life.pptx

Fundamentals of Akka - Webinar

  • 1. Fundamentals Of Akka Presented By: Manjot Kaur Software Consultant Knoldus Inc. LEARN NOW
  • 2. 01 Akka : Introduction 02 The Actor Model 03 Akka Actors 04 Example 05 Challenges That Akka solve. Today’s Agenda
  • 3. Akka ● Akka is a toolkit for building highly concurrent, distributed, and resilient message-driven applications for Java and Scala.
  • 4. ● The actor model was proposed decades ago by Carl Hewitt. ● It is a conceptual model to deal with concurrent computation. . ● 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. The Actor Model
  • 7. ● Create more actors. ● Send messages to other actors . ● Designate what to do with the next message The Actor Model
  • 10. Akka Actor ● There are many implementations of the Actor model : the most popular ones being Erlang/Elixir and Akka ● To get started with Akka we need to add the following dependency in build.sbt libraryDependencies += "com.typesafe.akka" % "akka-actor_2.11" % "2.4.14"
  • 11. Akka Actor : Example
  • 12. Akka Actor : Example ● Behavior ● Actor Reference ● State ● Mailbox ● ChildActor ● Supervision Strategy
  • 13. Akka : Ask and Tell Messages are sent to an Actor through one of the following methods. ● ! means “fire-and-forget”, e.g. send a message asynchronously and return immediately. Also known as tell. ● ? sends a message asynchronously and returns a representing a possible reply. Also known as ask.
  • 14. Top Level Actor Architecture
  • 15. Challenges That Akka Solves ● Multi-threaded behavior without the use of low-level concurrency constructs like atomics or locks — relieving you from even thinking about memory visibility issues. ● Transparent remote communication between systems and their components — relieving you from writing and maintaining difficult networking code. ● A clustered, high-availability architecture that is elastic, scales in or out, on demand — enabling you to deliver a truly reactive system.
  • 17. Thank You! Stay in Touch info@knoldus.com @Knolspea k www.knoldus.com +(1) 647-467-4396