Implementation of a simple bank account management system using akka.io.
The purpose of this repository is to be familiarized with the new akka-typed API.
The code is split and organized to several branches in order to reflect the progression of the implementation. The domain is intentionally left extremely simple in order to display as many akka features as possible.
The implementation progress is as following:
-
Part 1.1 Create a simple
AccountHolder
actor. -
Part 1.2 Use akka ask pattern to interact with the
AccountHolder
from outside the system. -
Part 1.3 Create
AccountHolderSpec
tests.
-
Part 2.1 Create an
AccountGroup
in memory cache and supervisor actor. -
Part 2.2 Create
AccountGroupSpec
tests.
-
Part 3.1 Create an application
MainSupervisor
actor. Create anHttpServer
server actor with account endpoints. -
Part 3.2 Implement
HttpServer
endpoints and integrate the existing account actors. -
Part 3.3 Simulate some account operations traffic. Create a
transaction-client
project that usesakka-stream
API to post continuously random requests to the backend.