Skip to content

C implementation of Hearbeat concept in distributed systems

License

Notifications You must be signed in to change notification settings

pnavada/PulseVibe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PulseVibe

C Implementation of Heartbeats in Distributed Systems

Author: Pruthvi Prakash Navada

Instructions to Run the Program

  1. Ensure that all the required files are in the same directory (Dockerfile, docker-compose.yml, peer.c, hostsfile.txt).
  2. Navigate to the directory containing these files.
  3. Build the Docker image using the following command:
    docker build -t prj1 .
  4. Set up the cluster and start the containers using the following command. Make sure that port 8080 is available:
    docker-compose up

Limitations

Occasionally, some processes may hang due to missed heartbeats. Adding an initial delay was attempted but did not resolve the issue. A possible workaround is to continuously send heartbeats until an acknowledgment is received.

About

C implementation of Hearbeat concept in distributed systems

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published