{"id":18150057,"url":"https://github.com/sysulq/ratelimitx","last_synced_at":"2025-04-06T22:33:59.626Z","repository":{"id":79214722,"uuid":"116254518","full_name":"sysulq/ratelimitx","owner":"sysulq","description":"A simple ratelimit for golang, implemented with memcache and gobreak, aims on high availability.","archived":false,"fork":false,"pushed_at":"2018-04-22T01:34:06.000Z","size":12,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-13T04:47:15.052Z","etag":null,"topics":["circuit-breaker","gobreak","golang","memcached","ratelimit"],"latest_commit_sha":null,"homepage":null,"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/sysulq.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":"2018-01-04T11:54:21.000Z","updated_at":"2018-04-22T01:34:07.000Z","dependencies_parsed_at":"2024-02-02T09:08:05.776Z","dependency_job_id":null,"html_url":"https://github.com/sysulq/ratelimitx","commit_stats":null,"previous_names":["sysulq/ratelimitx","hnlq715/ratelimitx"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sysulq%2Fratelimitx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sysulq%2Fratelimitx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sysulq%2Fratelimitx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sysulq%2Fratelimitx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sysulq","download_url":"https://codeload.github.com/sysulq/ratelimitx/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247563909,"owners_count":20958971,"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","gobreak","golang","memcached","ratelimit"],"created_at":"2024-11-02T00:07:21.518Z","updated_at":"2025-04-06T22:33:59.595Z","avatar_url":"https://github.com/sysulq.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ratelimitx\n[![Build Status](https://travis-ci.org/hnlq715/ratelimitx.svg?branch=master)](https://travis-ci.org/hnlq715/ratelimitx)\n[![Coverage](https://codecov.io/gh/hnlq715/ratelimitx/branch/master/graph/badge.svg)](https://codecov.io/gh/hnlq715/ratelimitx)\n\nA simple ratelimit for golang, implemented with memcache and gobreak, aims on high availability.\n\ntest results\n===\n```\nPASS\ncoverage: 85.2% of statements\nok  \tratelimitx\t1.811s\nSuccess: Tests passed.\n```\n\nbenchmark results\n===\n```\n$ go test -bench=.\ngoos: windows\ngoarch: amd64\npkg: ratelimitx\nBenchmarkAllowSecond-4                                      5000            253200 ns/op\nBenchmarkAllowMinute-4                                      5000            237330 ns/op\nBenchmarkAllowHour-4                                       10000            247800 ns/op\nBenchmarkMemcacheUnavailableWithFallback-4               1000000              1075 ns/op\nBenchmarkMemcacheUnavailableWithoutFallback-4            2000000               918 ns/op\nPASS\nok      go_third_party/app/lib/ratelimitx       12.950s\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsysulq%2Fratelimitx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsysulq%2Fratelimitx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsysulq%2Fratelimitx/lists"}