Akka essentials

Akka essentials

by Gupta, Munish K.

Type Book
Rate 0.0 /5

Akka Essentials; Akka Essentials; Credits; About the Author; Acknowledgement; About the Reviewers; www.PacktPub.com; Support files, eBooks, discount offers and more; Why Subscribe?; Free Access for Packt account holders; Preface; The driving force of Akka's Actor Model; What this book covers; What you need for this book; Conventions; Reader feedback; Customer support; Downloading the example code; Errata; Piracy; Questions; 1. Introduction to Akka; Background; Microprocessor evolution; Concurre…

Read More ↓

Title Statements

  • Full title :Akka essentials.

Summary

Akka Essentials; Akka Essentials; Credits; About the Author; Acknowledgement; About the Reviewers; www.PacktPub.com; Support files, eBooks, discount offers and more; Why Subscribe?; Free Access for Packt account holders; Preface; The driving force of Akka's Actor Model; What this book covers; What you need for this book; Conventions; Reader feedback; Customer support; Downloading the example code; Errata; Piracy; Questions; 1. Introduction to Akka; Background; Microprocessor evolution; Concurrent systems; Container-based applications; Actor Model; Akka framework; Actor systems.

Defining message classesDefining actor classes; MapActor.scala; ReduceActor.scala; AggregateActor.scala; MasterActor.scala; Defining the execution class; MapReduceApplication.scala; Summary; 3. Actors; Actors; Defining an actor; Creating actors; Actor with default constructor; Actor with non-default constructor; Creating an actor within an actor hierarchy; Messaging model; Sending messages; Fire and forget messages -- tell(); Send and receive messages -- ask(); Receiving messages; Replying to messages; Forwarding messages; Stopping actors; Killing actors; Actor lifecycle monitoring; HotSwap.

DispatcherPinned dispatcher; Balancing dispatcher; Calling thread dispatcher; Types of mailboxes; Dispatcher usage; Thread pool executor; Fork join executor; Routers; Router usage; Router usage via application.conf; Router usage for distributed actors; Dynamically resizing routers; Custom router; Summary; 6. Supervision and Monitoring; Let It Crash; Actor hierarchy; Supervision; Supervision strategies; One-For-One strategy; All-For-One strategy; Lifecycle monitoring; Fault tolerance; Summary; 7. Software Transactional Memory; Transaction management; What is software transactional memory?

What is an actor?State; Behavior; Mailbox; Actor lifecycle; Fault tolerance; Location transparency; Transactors; Akka use cases; Summary; 2. Starting with Akka; Application requirements; Application design; Start development; Prerequisites; Java; Eclipse; Maven; Scala; Akka; Java application; Creating the Akka Maven project; Defining message classes; MapData.java; WordCount.java; ReduceData.java; Result.java; Defining actor classes; MapActor.java; ReduceActor.java; AggregateActor.java; MasterActor.java; Defining the execution class; MapReduceApplication.java; Scala application.

4. Typed Actors; What are typed actors?; Defining an actor; Creating actors; An actor with a default constructor; An actor with a non-default constructor; Messaging model; Sending messages; Fire and forget messages; Send and receive messages; Stopping actors; Actor lifecycle monitoring; Lifecycle callbacks; Receiving messages; Supervisor strategy; Creating an actor hierarchy; Dispatchers and routers; Using dispatchers; application.conf; Using routers; Summary; 5. Dispatchers and Routers; Dispatchers; Dispatcher as a pattern; Executor in Java; Dispatchers in Akka; Types of dispatcher.

This is a step-by-step guide where each chapter will teach you a concept by explaining it with clear and lucid examples? each chapter can be read independently. This book is aimed at developers, architects who are building large distributed concurrent and scalable applications using Java/Scala. The book assumes knowledge of Java/JEE concepts but no knowledge of Actor model is assumed.

Read More ↓

Edition Statements

  • Publication Date:2012.

Publication Statements

  • Publisher(s):Packt Pub
  • Place of Publication:Birmingham, UK
  • Language:eng
  • Publication Date:2012.

Notes

"A practical, step-by-step guide to learn and build Akka's actor-based, distributed, concurrent, and scalable Java applications."

The Physical Object

  • Description:Online-Ressource (1 v.p.).

Edition Identifiers

  • ISBN:9781849518284, 1849518289, 9781849518291, 1849518297, 9781283739016, 1283739011
  • oclc:on1047849745
  • LC Classification:QA76.76.A65
  • Dewey Decimal:005.27

Subjects

Writers

More from this Series

Rate & Review

0.0/5
(0 people Voted)

No reviews yet. Be the first to rate this work.

Files & Downloads

  • Akka Essentials -- (.pdf)

    PDF · 4.9 MB · updated