akkaactorparty's People
Forkers
codelionxakkaactorparty's Issues
Use cluster sharding
adopt Java-code from akka-tutorial to our needs:
- add
akka-cluster
dependencies - create configuration file with reasonable default values
- configure logging
- terminate
ActorSystem
s on disconnect from the cluster
Additional resources: Akka cluster example project
Hash Mining
- Implement algorithm (see slides)
- Parallelize
Linear Combination
- Decide upon algorithm and understand it
- Implement algorithm
- Parallelize if possible
Proper CLI
Implement a CLI that conforms with the following requirements:
- provide three commands:
master
starts the master-node, supports following arguments:--workers
number of local worker actors to start on the master node--slaves
number of slave actor systems to wait for (cluster is up, when all slaves have joined it)--input
path to the input CSV file
slave
starts a slave node--workers
number of worker actors to start on the node--host
hostname of the master system
help
prints help document
- example calls:
> java -jar YourAlgorithmName.jar master --workers 4 --slaves 4 --input students.csv > java -jar YourAlgorithmName.jar slave --workers 4 --host 198.172.0.24
- master program terminal outputs: overall time and result CSV string
Read/ Write csv
Password Cracking
- Generate rainbow tables
- Implement LookUp query
- Decide upon data handling
System Shutdown
Implement the Reaper
-pattern for controlled shutdown of all actor systems after work is done.
Initialization:
- we need one
Reaper
actor per actor system - all actors of this system must register themselves at the
Reaper
Reaper
listens forTerminated
messages
Controlled shutdown:
- master sends
PoisonPill
to all known actors - all actors forward
PoisonPill
to their childs Reaper
receivesTerminated
messages- After no more
ActorRef
s are in theReaper
's state, it terminates his actor system:context.system.terminate()
Gene Analysis
- Decide upon algorithm and understand it
- Implement algorithm
- Parallelize if possible
Print out overall time and result CSV string on console
Start password range with starting 1 (100000)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.