{"id":20250000,"url":"https://github.com/bafs/distributed-architecture-laboratory","last_synced_at":"2025-03-03T16:20:36.283Z","repository":{"id":68455482,"uuid":"73833571","full_name":"BafS/distributed-architecture-laboratory","owner":"BafS","description":"Distributed architecture laboratory in Java","archived":false,"fork":false,"pushed_at":"2016-11-29T12:51:39.000Z","size":95,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-14T02:35:08.782Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BafS.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2016-11-15T16:36:47.000Z","updated_at":"2016-11-15T16:36:52.000Z","dependencies_parsed_at":"2023-03-15T16:00:20.524Z","dependency_job_id":null,"html_url":"https://github.com/BafS/distributed-architecture-laboratory","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BafS%2Fdistributed-architecture-laboratory","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BafS%2Fdistributed-architecture-laboratory/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BafS%2Fdistributed-architecture-laboratory/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BafS%2Fdistributed-architecture-laboratory/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BafS","download_url":"https://codeload.github.com/BafS/distributed-architecture-laboratory/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241696136,"owners_count":20004748,"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-11-14T09:56:32.818Z","updated_at":"2025-03-03T16:20:36.278Z","avatar_url":"https://github.com/BafS.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Distributed architecture laboratory\n\n## Protocol\n\n - Timeout: 1 second\n - Communication: Using binary format\n\n## Architecture\n\n - n Services\n - m Linker (public IPs, cannot add new linkers after initialization)\n - k Clients\n\nIf a linker, service or client does not reply after the timeout, it is considered as dead.\n\n# Launching linkers:\n\n`java Linker \u003clinker id\u003e`\n\nThe linker id is the line number in linker.txt, associating a specific id to a port\n\nExample: `java linker 1`\n\n# Launching Services:\n\n`java Service \u003ctype\u003e \u003cport\u003e`\n\ntype: Type of service\n    - \"reply\"\n    - \"time\"\n    - \"sum\"\n    \nport: Port of service\n\n# Launching clients:\n\n`java Client \u003ctype\u003e \u003cport\u003e`\n\nSame specifics as with services.\n\n# NEEDED:\n\nlinkers.txt file in the root directory with the following format:\n\n127.0.0.1:9090\n127.0.0.1:9091\n127.0.0.1:9092\n      . \n      .\n      .\n127.0.0.1:`\u003clast_port\u003e`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbafs%2Fdistributed-architecture-laboratory","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbafs%2Fdistributed-architecture-laboratory","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbafs%2Fdistributed-architecture-laboratory/lists"}