{"id":15366509,"url":"https://github.com/ruisiang/pow-shield-go","last_synced_at":"2025-04-15T12:23:11.857Z","repository":{"id":104520765,"uuid":"523957087","full_name":"RuiSiang/Pow-Shield-Go","owner":"RuiSiang","description":"Alternate implementation of PoW Shield in Go for stress testing purposes and future optimized production version.","archived":false,"fork":false,"pushed_at":"2022-09-23T02:20:22.000Z","size":36,"stargazers_count":8,"open_issues_count":0,"forks_count":5,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-23T09:51:20.728Z","etag":null,"topics":["ddos","ddos-mitigation","golang","netsec","network-security"],"latest_commit_sha":null,"homepage":"","language":"Go","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/RuiSiang.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}},"created_at":"2022-08-12T04:42:34.000Z","updated_at":"2025-02-05T16:33:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"ef40de53-2d3f-4a35-b1a8-7e7c20ba11f2","html_url":"https://github.com/RuiSiang/Pow-Shield-Go","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/RuiSiang%2FPow-Shield-Go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RuiSiang%2FPow-Shield-Go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RuiSiang%2FPow-Shield-Go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RuiSiang%2FPow-Shield-Go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RuiSiang","download_url":"https://codeload.github.com/RuiSiang/Pow-Shield-Go/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241018431,"owners_count":19895077,"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":["ddos","ddos-mitigation","golang","netsec","network-security"],"created_at":"2024-10-01T13:19:00.227Z","updated_at":"2025-02-27T13:31:12.854Z","avatar_url":"https://github.com/RuiSiang.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WIP: PoW Shield Go\n\nImplementation of [PoW Shield](https://github.com/RuiSiang/PoW-Shield) in Go for stress-testing purposes and future production version.\n\n## Usage\n\n### Install the package\n\n```bash\ngo mod tidy\n```\n\n### Run\n\n```bash\ngo run main.go\n```\n\n## Stress Test\n\nNote: This only works on non-containerized version of PoW Shield, and that your system might experience unstability when running the test.\n\n```bash\n# Start the stress test\nnpm run stress\n\n# If you changed the PORT variable in .env, you should also change the target variable in the stress test script\nnano scripts/stress.sh\n```\n\n_The following tests are are conducted on i7-12700H CPU with a sum of 1 100% utilized core and a 60 second period for each concurrent parameter._\n\n### Mass GET\n\n| Concurrent Connections | Avg Latency | Error Rate | Requests/Second |\n| ---------------------: | ----------: | ---------: | --------------: |\n|                     64 |          ms |          0 |                 |\n|                    128 |          ms |          0 |                 |\n|                    256 |          ms |          0 |                 |\n|                    512 |          ms |          0 |                 |\n|                   1024 |          ms |          0 |                 |\n|                   2048 |          ms |          0 |                 |\n|                   4096 |          ms |          0 |                 |\n\n### Nonce Flood\n\n| Concurrent Connections | Avg Latency | Error Rate | Requests/Second |\n| ---------------------: | ----------: | ---------: | --------------: |\n|                     64 |          ms |        N/A |                 |\n|                    128 |          ms |        N/A |                 |\n|                    256 |          ms |        N/A |                 |\n|                    512 |          ms |        N/A |                 |\n|                   1024 |          ms |        N/A |                 |\n|                   2048 |          ms |        N/A |                 |\n|                   4096 |          ms |        N/A |                 |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fruisiang%2Fpow-shield-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fruisiang%2Fpow-shield-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fruisiang%2Fpow-shield-go/lists"}