Distributed Chat Application
-
To start the application, you need to run MessageApp.java .
-
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 . -
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 .
- UDP: com.sjsu.rollbits.discovery
- Raft: com.sjsu.rollbits.raft
- Sharding & Replication: com.sjsu.rollbits.sharding.hashing
- DAO: com.sjsu.rollbits.dao.interfaces
- InterCluster Services: com.sjsu.rollbits.intercluster.sync
- External Client: com.sjsu.rollbits.client
Project report submission can be found at https://github.com/rashmishrm/rollbits/blob/master/Rollbits-Project-Report.pdf