Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Simulation of nodes in a distributed system

NotificationsYou must be signed in to change notification settings

amalrajan/distributed-nodes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Simulation of nodes in a distributed system. The nodes communicate with each other using TCP sockets.

Overview

This project aims to analyze key reliability and performance metrics such as MTTR (Mean Time To Repair), MTTB (Mean Time To Breakdown), and availability.

The system consists of a supervisor node and multiple worker nodes. The supervisor node is responsible for monitoring the worker nodes. The worker nodes are responsible for executing the tasks.

The supervisor sends a SIGUSR1 signal to the worker nodes to instruct clients to connect to the server. The supervisor keeps polling the PID of the worker nodes to check if they are alive. If a worker node is not responding, the supervisor restarts the worker node.

Installation

git clone https://github.com/amalrajan/distributed-nodescd distributed-nodespip install -r requirements.txt

Usage

python supervisor.py

Availability Analysis

python tests/test_mttr_mttb.py

License

MIT License

About

Simulation of nodes in a distributed system

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2026 Movatter.jp