Book Image

Learning Akka

By : Jason Goodwin
Book Image

Learning Akka

By: Jason Goodwin

Overview of this book

<p>Software today has to work with more data, more users, more cores, and more servers than ever. Akka is a distributed computing toolkit that enables developers to build correct concurrent and distributed applications using Java and Scala with ease, applications that scale across servers and respond to failure by self-healing. As well as simplifying development, Akka enables multiple concurrency development patterns with particular support and architecture derived from Erlang’s concept of actors (lightweight concurrent entities). Akka is written in Scala, which has become the programming language of choice for development on the Akka platform.</p> <p>Learning Akka aims to be a comprehensive walkthrough of Akka. This book will take you on a journey through all the concepts of Akka that you need in order to get started with concurrent and distributed applications and even build your own.</p> <p>Beginning with the concept of Actors, the book will take you through concurrency in Akka. Moving on to networked applications, this book will explain the common pitfalls in these difficult problem areas while teaching you how to use Akka to overcome these problems with ease.</p> <p>The book is an easy to follow example-based guide that will strengthen your basic knowledge of Akka and aid you in applying the same to real-world scenarios.</p>
Table of Contents (17 chapters)
Learning Akka
Credits
About the Author
Acknowledgments
About the Reviewer
www.PacktPub.com
Preface
Index

Homework


To ensure you have a good grasp on the content, an assignment will be given at the end of each chapter:

  • Place the Akka documentation in your Bookmark bar. Also place Hacker News there and read it every day.

  • Come up with an idea for a service you want to build and provide on the Internet. Preferably the service should involve processing some input and storing it or returning it.

  • Create a repository in GitHub for your project. Check your project into GitHub. If you've never worked with Git or GitHub, now is a good time as the source from this book is available there! You can use it to post and display the work you do in this book. Tag your README with LEARNINGAKKAJG so others can search for your project on GitHub to see what you've done.

  • Create an actor. Have the actor store the last string that it was sent.

  • Write a unit test to confirm the actor will receive a message correctly.

  • Write a unit test to confirm the actor behaves correctly if it is sent two messages.

  • Push your project to GitHub.

  • Check out the book source code from http://www.github.com/jasongoodwin/learning-akka