Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 1.13 KB

README.md

File metadata and controls

31 lines (23 loc) · 1.13 KB

rollbits

Distributed Chat Application

To deploy the project

  1. To start the application, you need to run MessageApp.java .

  2. This class does the following:
    2.1 Starts UDP Server .
    2.2 UDP Broadcasts its details .
    2.3 Starts Raft Context .
    2.4 Starts Server Request Queue .
    2.5 Starts the netty TCP Server .

  3. The following configuration files has been used:
    3.1 routing.conf : Contains details regarding tcp port and routing resources .
    3.2 config.yml : Contains constants used project wide including node details like name, ip, group tag etc.
    3.3 hibernate.cfg.xml : Contains mysql and hibernate related configurations .

Code Walkthrough

  1. UDP: com.sjsu.rollbits.discovery
  2. Raft: com.sjsu.rollbits.raft
  3. Sharding & Replication: com.sjsu.rollbits.sharding.hashing
  4. DAO: com.sjsu.rollbits.dao.interfaces
  5. InterCluster Services: com.sjsu.rollbits.intercluster.sync
  6. External Client: com.sjsu.rollbits.client

Report

Project report submission can be found at https://github.com/rashmishrm/rollbits/blob/master/Rollbits-Project-Report.pdf