{"id":17794262,"url":"https://github.com/pyk/packagebug-dispatcher","last_synced_at":"2025-09-03T23:40:30.080Z","repository":{"id":71957683,"uuid":"41576097","full_name":"pyk/packagebug-dispatcher","owner":"pyk","description":"Dispatcher dispatchs a jobs for a bunch of worker once a day","archived":false,"fork":false,"pushed_at":"2015-09-01T00:36:49.000Z","size":140,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-07T17:23:19.723Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pyk.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}},"created_at":"2015-08-29T01:20:41.000Z","updated_at":"2015-09-01T01:49:54.000Z","dependencies_parsed_at":"2023-03-11T11:39:33.656Z","dependency_job_id":null,"html_url":"https://github.com/pyk/packagebug-dispatcher","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/pyk%2Fpackagebug-dispatcher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyk%2Fpackagebug-dispatcher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyk%2Fpackagebug-dispatcher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyk%2Fpackagebug-dispatcher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pyk","download_url":"https://codeload.github.com/pyk/packagebug-dispatcher/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246741318,"owners_count":20826104,"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-10-27T11:15:41.078Z","updated_at":"2025-04-02T02:21:38.500Z","avatar_url":"https://github.com/pyk.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dispatcher of Packagebug\n\nDispatcher dispatchs a job for a bunch of worker. Dispatcher send the job as\na message to Amazon SQS, which is where the worker receive from. Each message\ncontain information about the package separated by commas. That information\nis used by worker to fetch a bugs from the repository of package.\n\nThere are over 20K packages in the database, sending messsage to Amazon SQS\nfor each package require 20K requests. It's not optimal though. So, we send\nmessage as a batch instead of 1 request per message.\n\n## Setup\nMake sure this enviroment variable already set\n\n    DATABASE_URL\n\n    PACKAGEBUG_SQS_ENDPOINT\n    PACKAGEBUG_SQS_REGION\n\n    AWS_ACCESS_KEY_ID\n    AWS_SECRET_ACCESS_KEY\n\nRun\n\n    go install\n    packagebug-dispatcher\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpyk%2Fpackagebug-dispatcher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpyk%2Fpackagebug-dispatcher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpyk%2Fpackagebug-dispatcher/lists"}