{"id":23197153,"url":"https://github.com/disk0dancer/echo-finn-sync","last_synced_at":"2025-04-05T08:42:20.320Z","repository":{"id":267796100,"uuid":"902171375","full_name":"disk0Dancer/echo-finn-sync","owner":"disk0Dancer","description":"This reposirory contains implementations for syncronisation alghoritms working in multi-node network","archived":false,"fork":false,"pushed_at":"2024-12-23T17:12:24.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-10T16:57:34.179Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/disk0Dancer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-12T03:41:28.000Z","updated_at":"2024-12-12T14:01:44.000Z","dependencies_parsed_at":"2024-12-12T14:24:38.015Z","dependency_job_id":"f2c0262a-cb74-40e4-9cc6-5135213575e9","html_url":"https://github.com/disk0Dancer/echo-finn-sync","commit_stats":null,"previous_names":["disk0dancer/echo-finn-sync"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/disk0Dancer%2Fecho-finn-sync","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/disk0Dancer%2Fecho-finn-sync/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/disk0Dancer%2Fecho-finn-sync/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/disk0Dancer%2Fecho-finn-sync/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/disk0Dancer","download_url":"https://codeload.github.com/disk0Dancer/echo-finn-sync/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247312098,"owners_count":20918341,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-18T14:28:12.190Z","updated_at":"2025-04-05T08:42:20.286Z","avatar_url":"https://github.com/disk0Dancer.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Distributed Algorithms: Echo and Finn\n\nThis repository contains implementations of two distributed algorithms: **Echo** and **Finn**, designed for process synchronization in distributed systems. \nThe communication between processes is facilitated by RabbitMQ, an AMQP-based message broker.\n\n## Algorithms Overview\n\n### 1. Echo Algorithm\n- **Purpose**: Synchronization in a tree-like network topology.\n- **Description**:\n    - An initiator sends a message to all neighbors.\n    - Each node forwards the message to its neighbors (excluding the sender).\n    - Leaf nodes respond with \"echo\" messages back to their sender.\n    - The algorithm terminates when the initiator receives responses from all neighbors.\n\n### 2. Finn Algorithm\n- **Purpose**: Synchronization in arbitrary directed networks.\n- **Description**:\n    - Each node maintains two sets: \\( Inc \\) (predecessors) and \\( NInc \\) (predecessors of neighbors).\n    - Messages are exchanged until \\( Inc \\) equals \\( NInc \\).\n    - The algorithm ensures eventual consistency across the network.\n\n---\n\n## Features\n- Uses RabbitMQ for inter-process communication.\n- Python implementation.\n- Modular structure for easy integration and testing.\n\n---\n\n## Prerequisites\n\n\n- install RabbitMQ\n- install UV\n- `make echo` - to run echo algorithm\n- `make finn` - to run finn algorithm","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdisk0dancer%2Fecho-finn-sync","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdisk0dancer%2Fecho-finn-sync","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdisk0dancer%2Fecho-finn-sync/lists"}