{"id":21948143,"url":"https://github.com/evolution-gaming/throttler","last_synced_at":"2025-04-23T00:16:01.384Z","repository":{"id":22388963,"uuid":"96110972","full_name":"evolution-gaming/throttler","owner":"evolution-gaming","description":"Request throttler","archived":false,"fork":false,"pushed_at":"2024-08-17T14:00:14.000Z","size":94,"stargazers_count":6,"open_issues_count":16,"forks_count":2,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-04-23T00:15:55.543Z","etag":null,"topics":["request-throttler"],"latest_commit_sha":null,"homepage":"","language":"Scala","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/evolution-gaming.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":"2017-07-03T12:57:23.000Z","updated_at":"2024-07-18T10:42:28.000Z","dependencies_parsed_at":"2024-07-18T12:53:18.425Z","dependency_job_id":null,"html_url":"https://github.com/evolution-gaming/throttler","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evolution-gaming%2Fthrottler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evolution-gaming%2Fthrottler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evolution-gaming%2Fthrottler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evolution-gaming%2Fthrottler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/evolution-gaming","download_url":"https://codeload.github.com/evolution-gaming/throttler/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250343957,"owners_count":21415041,"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":["request-throttler"],"created_at":"2024-11-29T05:12:10.383Z","updated_at":"2025-04-23T00:16:01.354Z","avatar_url":"https://github.com/evolution-gaming.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"# throttler \n[![Build Status](https://github.com/evolution-gaming/throttler/workflows/CI/badge.svg)](https://github.com/evolution-gaming/throttler/actions?query=workflow%3ACI)\n[![Coverage Status](https://coveralls.io/repos/github/evolution-gaming/throttler/badge.svg?branch=master)](https://coveralls.io/github/evolution-gaming/throttler?branch=master) \n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/a5cfa2105c1f48bb91f87b40955b0a55)](https://www.codacy.com/app/evolution-gaming/throttler?utm_source=github.com\u0026amp;utm_medium=referral\u0026amp;utm_content=evolution-gaming/throttler\u0026amp;utm_campaign=Badge_Grade)\n[![Version](https://img.shields.io/badge/version-click-blue)](https://evolution.jfrog.io/artifactory/api/search/latestVersion?g=com.evolutiongaming\u0026a=throttler_2.13\u0026repos=public)\n[![License](https://img.shields.io/badge/License-Apache%202.0-yellowgreen.svg)](https://opensource.org/licenses/Apache-2.0)\n\n### RequestThrottler\n\nRequestThrottler allows to limit the maximum number of requests / messages which can be processed within a specific time period for a specific user / resource, etc.\n\n### TokenBucket\n\nTokenBucket is a request throttling implementation for limiting requests rate for a single resource, see \u003ca href=\"http://en.wikipedia.org/wiki/Token_bucket\"\u003eToken Bucket on Wikipedia\u003c/a\u003e.\n  \n### FixedIntervalRefillStrategy  \n  \nFixedIntervalRefillStrategy is a token bucket refill strategy that will provide N tokens for a token bucket to consume every T milliseconds.\n\n\n## Setup\n\n```scala\naddSbtPlugin(\"com.evolution\" % \"sbt-artifactory-plugin\" % \"0.0.2\")\n\nlibraryDependencies += \"com.evolutiongaming\" %% \"throttler\" % \"2.0.1\"\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevolution-gaming%2Fthrottler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fevolution-gaming%2Fthrottler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevolution-gaming%2Fthrottler/lists"}