PoC of Akka.Net on Docker
This is a POC of Akka.net on .Net Core deployed on Docker.
The goals of this POC are as follows:
- Determine viability of modeling a financial servicing domain using actors to hold state instead of using a database.
- Determine the viability of using Akka.Net in a production-like environment.
- Identify challenges of using Event Sourcing to model state transitions.
Here is the list of pending TODOs
Running It
cd AkkaNetPoC/
dotnet run --project Loaner
To run it in a cluster use Lighthouse
cd AkkaNetPoC/
dotnet run --project Lighthouse.NetCoreApp
Setting up Monitoring (Locally)
docker run -d --name=grafana --restart=always -p 3000:3000 -e "GF_SERVER_ROOT_URL=http://localhost" -e "GF_SECURITY_ADMIN_PASSWORD=secret" grafana/grafana
docker run -d --name=graphite --restart=always -p 80:80 -p 2003-2004:2003-2004 -p 2023-2024:2023-2024 -p 8125:8125/udp -p 8126:8126 hopsoft/graphite-statsd
or just run:
runMonitoring.sh
Generating Sample Accounts
cd AkkaNetPoC/Loaner/SampleData
./GenerateSampleData.pl ####
Where #### is the number of accounts you want ot generate. Note that it defaults to looking for a client named 'Raintree.txt', so you can override it with the sample generated files.