Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Mastering Akka
  • Table Of Contents Toc
  • Feedback & Rating feedback
Mastering Akka

Mastering Akka

By : Baxter
3.7 (6)
close
close
Mastering Akka

Mastering Akka

3.7 (6)
By: Baxter

Overview of this book

For a programmer, writing multi-threaded applications is critical as it is important to break large tasks into smaller ones and run them simultaneously. Akka is a distributed computing toolkit that uses the abstraction of the Actor model, enabling developers to build correct, concurrent, and distributed applications using Java and Scala with ease. The book begins with a quick introduction that simplifies concurrent programming with actors. We then proceed to master all aspects of domain-driven design. We’ll teach you how to scale out with Akka Remoting/Clustering. Finally, we introduce Conductr as a means to deploy to and manage microservices across a cluster.
Table of Contents (11 chapters)
close
close

Playing around with the new application


At this point, we have two modules completely refactored, so it's a good time to take the app for a test drive and check out how the newly added query support works. To get the app up-and-running, first build it via docker-build.sh and then start it up via launch.sh. You should create a new BookstoreUser and then a new book via the REST API, being sure to add an inventory to it. Refer to the Interacting with the Book endpoint section from Chapter 1, Building a Better Reactive App, if you need help remembering the endpoint calls to make. Then, using the ID of the newly created book, craft up the correct JSON to create a new SalesOrder and then use the REST API to do that.

With those three entities created, you can start to use the query-API calls. The API stayed the same in relation to the query calls, so you can use the instructions from Chapter 1, Building a Better Reactive App, to run queries. Try looking up books by author and then try looking up...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech

Create a Note

Modal Close icon
You need to login to use this feature.
notes
bookmark search playlist download font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Delete Note

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Edit Note

Modal Close icon
Write a note (max 255 characters)
Cancel
Update Note

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY