Skip to content

exercise on reactivity, resilience and elasticity of distributed system: distributed chat with microservice architecture. Akka cluster with sharding and persistence

Notifications You must be signed in to change notification settings

MichaelBosello/reactive-chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reactive chat

A reactive chat with microservice architecture that takes into account non-functional aspects such as scalability, resilience and responsiveness. Each chat has the following qualities: the messages sent must be displayed in the same order by all users. The chat supports dynamic set of participants. Finally, A user can request to be the only one to write in the chat for a limited time. Used Akka cluster with sharding and persistence.

Run

  1. Go to package backend.run.cluster and start RunCassandra
  2. In the same package start one or more times all others main
  3. Start all mains in backend.run.service, one or more times
  4. Start one or more ClientMain from package frontend

NB: You may need to leave a few seconds between start up. Hardcoded addresses are set for use all services in one machine, if you want to distribute clusters you need to update addresses in .conf file and in utility.NetworkUtility

About

exercise on reactivity, resilience and elasticity of distributed system: distributed chat with microservice architecture. Akka cluster with sharding and persistence

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages