All Projects → write2munish → Akka Essentials

write2munish / Akka Essentials

Java/Scala Examples from the book - Akka Essentials

Programming Languages

java
68154 projects - #9 most used programming language
scala
5932 projects

Projects that are alternatives of or similar to Akka Essentials

Akka Guide
🌴 A chinese guide of Akka, based on Java.
Stars: ✭ 217 (-69%)
Mutual labels:  akka, actors
Akkadotnet Code Samples
Akka.NET professional reference code samples
Stars: ✭ 451 (-35.57%)
Mutual labels:  akka, actors
akka-cqrs-activator
Issue tracker PoC application written in Scala (Akka) and JavaScript (React) that demonstrates event sourcing and CQRS
Stars: ✭ 33 (-95.29%)
Mutual labels:  actors, akka
Akkatecture
a cqrs and event sourcing framework for dotnet core using akka.net
Stars: ✭ 414 (-40.86%)
Mutual labels:  akka, actors
nact
nact ⇒ node.js + actors ⇒ your services have never been so µ
Stars: ✭ 1,003 (+43.29%)
Mutual labels:  actors, akka
Actors
Evaluation of API and performance of different actor libraries
Stars: ✭ 125 (-82.14%)
Mutual labels:  akka, actors
Akka.Persistence.MongoDB
MongoDB support for Akka.Persistence
Stars: ✭ 30 (-95.71%)
Mutual labels:  actors, akka
endless
Scala library to describe sharded and event sourced entities using tagless-final algebras
Stars: ✭ 70 (-90%)
Mutual labels:  actors, akka
MuezzinAPI
A web server application for Islamic prayer times
Stars: ✭ 33 (-95.29%)
Mutual labels:  actors, akka
akka-contextual-actor
A really small library (just a few classes) which lets you trace your actors messages transparently propagating a common context together with your messages and adding the specified values to the MDC of the underlying logging framework.
Stars: ✭ 17 (-97.57%)
Mutual labels:  actors, akka
Akka Monitoring
Monitoring system instrumentation for Akka.NET actor systems
Stars: ✭ 105 (-85%)
Mutual labels:  akka, actors
Robots
Actor system for Rust
Stars: ✭ 294 (-58%)
Mutual labels:  akka, actors
Protoactor Dotnet
Proto Actor - Ultra fast distributed actors for Go, C# and Java/Kotlin
Stars: ✭ 1,070 (+52.86%)
Mutual labels:  akka, actors
Tacks
Real-time multiplayer sailing game, in your browser
Stars: ✭ 134 (-80.86%)
Mutual labels:  akka, actors
Nact
nact ⇒ node.js + actors ⇒ your services have never been so µ
Stars: ✭ 848 (+21.14%)
Mutual labels:  akka, actors
protoactor-python
Proto Actor - Ultra fast distributed actors
Stars: ✭ 78 (-88.86%)
Mutual labels:  actors, akka
protoactor-go
Proto Actor - Ultra fast distributed actors for Go, C# and Java/Kotlin
Stars: ✭ 4,138 (+491.14%)
Mutual labels:  actors, akka
Protoactor Go
Proto Actor - Ultra fast distributed actors for Go, C# and Java/Kotlin
Stars: ✭ 3,934 (+462%)
Mutual labels:  akka, actors
Comedy
Node.js actor framework.
Stars: ✭ 474 (-32.29%)
Mutual labels:  actors
Akka Http Session
Web & mobile client-side akka-http sessions, with optional JWT support
Stars: ✭ 429 (-38.71%)
Mutual labels:  akka

Akka Essentials (refer http://akka-essentials.blogspot.com/ for more details)

Build Status

You will find examples of Akka in Java & Scala, talking of one concept along with a problem solved

ClientServerExample : This example demonstrates how the remote actors works in a client / server mode. The client sends the message to the server and server replies back to the client. The example also demonstrates various methods of creating remote actor references on the client side.

LoadGeneratorExample : This example generates 10 million messages and calculates the time it takes to process them. The program demonstrated the Routing concept where a roundrobinrouter is used to distribute the load on to a set of workers

WordCountMapReduce : This examples implements the Word Count Map Reduce model. The client system reads a text file and sends each line of text as a message to the Server. The server reads the line, maps the words, reduces the words and finally does an inmemory aggregation of the result. The example also implemented a prioritymailbox, which is used to segregate the message requests between the mapreduce requests and getting the list of results from the aggregate actor

GridPatternExample : Grid Computing pattern is where a control node distributes the work to other nodes. Idea is to make use of the nodes on the network for their computing power. It is analogous to Master Slave Pattern with certain differences. The idea behind the Master Slave pattern is to partition the work into identical sub tasks which are then delegated to Slaves. The example demonstrates how an WorkerActor system sends a request for registration. The RegisterRemoteWorker recieves the request and forwards the same to JobController where the RoundRobinRouter is updated for the new worker information. The WorkScheduler sends a periodic request to JobController, who then sends packets to all the registered worker actors.

AkkaSerializableExample : Akka by default supports 2 serializer options - java and protobuf. In addition, Akka provides an API to write you owns serializable. In this example, i have used google gson library to convert your value object into json string representation which is then converted to bytes and transported across the wire

AkkaSupervisorExample : Akka provides two supervisor strategies - One-For-One or All-For-One that are used to monitor the actors and build the fault tolerance in the actor model. There are 3 examples that demonstrate the strategies and their usage. In addition, the java section has unit testing code also for testing your supervisor code

AkkaWithZeroMQ - Akka provides native support for ZeroMQ libraries and provide different connectors (Pub-Sub, Req-Rep,Router-Dealer and Pull-Push). There are four examples that demonstrated their usage

AkkaUnitTest : Unit testing toolkit is provided via TestKit in Akka. The scala side of unit testing is well covered. For java, TestKit provides limited constructs. The various examples implemented by Ray Roestenburg have ported to Java world, with couple of more scenario's added. This can be good starting point for Java programmers to start unit testing their actors

AkkaPersistentExample : Akka provides persistent model for stateful actors. The example uses a simple example of Integer (which carries the ) and operations (ADD, SUBTRACT, MULTIPLY, DIVIDE) along with operand acts on the state object

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].