{"id":20338928,"url":"https://github.com/pablito2020/weighted-fair-queuing","last_synced_at":"2026-07-17T13:36:19.825Z","repository":{"id":227331621,"uuid":"758228973","full_name":"Pablito2020/weighted-fair-queuing","owner":"Pablito2020","description":"Implementation of FQ and WFQ","archived":false,"fork":false,"pushed_at":"2024-03-08T13:13:19.000Z","size":31,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-14T18:04:39.935Z","etag":null,"topics":["fq","routing-protocols","wfq"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Pablito2020.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}},"created_at":"2024-02-15T21:53:48.000Z","updated_at":"2024-03-12T17:26:05.000Z","dependencies_parsed_at":"2024-03-12T19:41:17.666Z","dependency_job_id":"02db941d-a43c-4bd0-a6d5-489ba6f417f1","html_url":"https://github.com/Pablito2020/weighted-fair-queuing","commit_stats":null,"previous_names":["pablito2020/weighted-fair-queuing"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pablito2020%2Fweighted-fair-queuing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pablito2020%2Fweighted-fair-queuing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pablito2020%2Fweighted-fair-queuing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pablito2020%2Fweighted-fair-queuing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Pablito2020","download_url":"https://codeload.github.com/Pablito2020/weighted-fair-queuing/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241864026,"owners_count":20033094,"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":["fq","routing-protocols","wfq"],"created_at":"2024-11-14T21:14:42.520Z","updated_at":"2025-10-18T20:53:23.049Z","avatar_url":"https://github.com/Pablito2020.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Fair Queuing and Weighted Fair Queuing implementation\n\n## Usage\n\nYou can see the options with:\n```\n$ python main.py -h\n```\n\nBut you'll probably want the \"normal\" execution which is:\n```\n$ python main.py [file_name.txt] [weights]\n```\n\n## File format\nThe file format is the following (each field is split by spaces )\n\n| Time Arrival | Length | Stream Id |\n|--------------|--------|-----------|\n|       0      |  1000  |     1     |\n|       0      |   20   |     2     |\n|   .......    |  ....  |    ...    |\n\n## Package Id's\nThe packet id (not stream id) is assigned by the line of the file, this means that the packet you define on line 3 has id 3, and go on.\n\nFor example, if you have the following file:\n\n| Time Arrival | Length | Stream Id |\n|--------------|--------|-----------|\n|       0      |   100  |     1     |\n|      20      |   95   |     2     |\n|      30      |   50   |     2     |\n|      35      |   75   |     3     |\n|      40      |  100   |     1     |\n|       0      |   60   |     3     |\n|   .......    |  ....  |    ...    |\n\nBe aware that the package\n\n| Time Arrival | Length | Stream Id |\n|--------------|--------|-----------|\n|   .......    |  ....  |    ...    |\n|       0      |   60   |     3     |\n|   .......    |  ....  |    ...    |\n\nWill have the id: 6, which can be \"not intuitive\", since it is received in second 0.\n\n## Test the algorithm\nI've added some tests (for fair queueing and weighted fair queueing). All the datasets live inside the \"/data\" folder.\n\nIf you want to run all the tests execute:\n\n```\n$ pytest .\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpablito2020%2Fweighted-fair-queuing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpablito2020%2Fweighted-fair-queuing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpablito2020%2Fweighted-fair-queuing/lists"}