{"id":22707328,"url":"https://github.com/tutv/node-rate-limit","last_synced_at":"2025-03-29T20:45:22.563Z","repository":{"id":85524329,"uuid":"137317525","full_name":"tutv/node-rate-limit","owner":"tutv","description":null,"archived":false,"fork":false,"pushed_at":"2018-06-15T03:54:06.000Z","size":14,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-04T21:45:32.732Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tutv.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2018-06-14T06:44:50.000Z","updated_at":"2021-12-14T11:01:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"93273229-4843-4117-8b9d-ef4789237ebd","html_url":"https://github.com/tutv/node-rate-limit","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/tutv%2Fnode-rate-limit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tutv%2Fnode-rate-limit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tutv%2Fnode-rate-limit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tutv%2Fnode-rate-limit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tutv","download_url":"https://codeload.github.com/tutv/node-rate-limit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246243548,"owners_count":20746308,"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-12-10T10:12:02.643Z","updated_at":"2025-03-29T20:45:22.546Z","avatar_url":"https://github.com/tutv.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# An example NodeJS app with rate-limiting algorithm\n\nBacked by Redis and ExpressJS.\n\n\n## Installation\n```\n//with yarn\nyarn\n\n//with npm\nnpm i\n```\n\n## Testing\n\nWith rate-limiting is 30 req/minute.\n```\n#run server\nnode index.js\n\n#run test\nab -n 200 -c 50 http://localhost:4900/limit\n\n#Ouput\n\n```\n\nOutput:\n```\nCompleted 200 requests\n\nConcurrency Level:      50\nTime taken for tests:   0.297 seconds\nComplete requests:      200\nFailed requests:        30\n   (Connect: 0, Receive: 0, Length: 30, Exceptions: 0)\nNon-2xx responses:      170\nTotal transferred:      57460 bytes\nHTML transferred:       3970 bytes\nRequests per second:    672.54 [#/sec] (mean)\nTime per request:       74.344 [ms] (mean)\nTime per request:       1.487 [ms] (mean, across all concurrent requests)\nTransfer rate:          188.69 [Kbytes/sec] received\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftutv%2Fnode-rate-limit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftutv%2Fnode-rate-limit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftutv%2Fnode-rate-limit/lists"}