{"id":24108202,"url":"https://github.com/gopal96685/throttler","last_synced_at":"2025-10-06T03:00:00.704Z","repository":{"id":271337789,"uuid":"913121864","full_name":"gopal96685/throttler","owner":"gopal96685","description":"A highly configurable Go library for rate-limiting, task scheduling, and priority-based execution with retries, backoff, and circuit breaking capabilities.","archived":false,"fork":false,"pushed_at":"2025-01-13T09:12:00.000Z","size":27,"stargazers_count":16,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-03T14:51:50.936Z","etag":null,"topics":["circuit-breaker","concurrency","go","priority-queue","ratelimit","ratelimiter","retry-mechanism","taskqueue","throttle","throttling","workerpool"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gopal96685.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,"zenodo":null}},"created_at":"2025-01-07T04:34:04.000Z","updated_at":"2025-01-13T09:12:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"88514b54-8f9b-45a7-893f-768bbd18c281","html_url":"https://github.com/gopal96685/throttler","commit_stats":null,"previous_names":["gopal96685/throttler"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gopal96685/throttler","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gopal96685%2Fthrottler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gopal96685%2Fthrottler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gopal96685%2Fthrottler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gopal96685%2Fthrottler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gopal96685","download_url":"https://codeload.github.com/gopal96685/throttler/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gopal96685%2Fthrottler/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261795334,"owners_count":23210620,"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":["circuit-breaker","concurrency","go","priority-queue","ratelimit","ratelimiter","retry-mechanism","taskqueue","throttle","throttling","workerpool"],"created_at":"2025-01-10T23:26:22.988Z","updated_at":"2025-10-06T02:59:55.678Z","avatar_url":"https://github.com/gopal96685.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Throttler  \n[![Go Reference](https://pkg.go.dev/badge/github.com/gopal96685/throttler.svg)](https://pkg.go.dev/github.com/gopal96685/throttler)  \n[![License](https://img.shields.io/github/license/gopal96685/throttler)](./LICENSE)  \n[📖 Read the full article on Medium](https://medium.com/@gopal96685/introducing-throttler-a-go-library-for-simplified-task-management-and-rate-limiting-a1187510a57e)\n\n**Throttler** is a Go library for managing task execution with features like:  \n- **Rate Limiting** to handle API or database constraints.  \n- **Task Scheduling** with retries, backoff, and priority management.  \n- **Circuit Breaking** to avoid cascading failures.  \n\n---\n\n## Features  \n- Flexible APIs for defining tasks: Use closures or the `Executable` interface.  \n- Automatic retry with backoff for failed tasks.  \n- Rate limit enforcement to handle throughput-heavy workloads.  \n- Priority-based task execution with first-in-first-out (FIFO) fallback.  \n- Built-in metrics collection for monitoring queue size and execution.  \n\n---\n\n## Installation  \n```bash\ngo get github.com/gopal96685/throttler\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgopal96685%2Fthrottler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgopal96685%2Fthrottler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgopal96685%2Fthrottler/lists"}