{"id":20372641,"url":"https://github.com/txchen/servertrack","last_synced_at":"2026-04-20T04:35:41.423Z","repository":{"id":29978648,"uuid":"33525719","full_name":"txchen/servertrack","owner":"txchen","description":"simple service in golang","archived":false,"fork":false,"pushed_at":"2015-04-09T00:30:41.000Z","size":140,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-27T11:02:36.712Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/txchen.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}},"created_at":"2015-04-07T06:16:34.000Z","updated_at":"2015-04-09T00:30:41.000Z","dependencies_parsed_at":"2022-08-24T12:00:25.018Z","dependency_job_id":null,"html_url":"https://github.com/txchen/servertrack","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/txchen/servertrack","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/txchen%2Fservertrack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/txchen%2Fservertrack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/txchen%2Fservertrack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/txchen%2Fservertrack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/txchen","download_url":"https://codeload.github.com/txchen/servertrack/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/txchen%2Fservertrack/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32032791,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T00:18:06.643Z","status":"online","status_checked_at":"2026-04-20T02:00:06.527Z","response_time":94,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-11-15T01:14:13.361Z","updated_at":"2026-04-20T04:35:41.387Z","avatar_url":"https://github.com/txchen.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# servertrack\n\nTo build:\n\n```bash\n$ go get\n$ go build\n```\n\nTo run without build:\n\n```bash\n$ go run main.go stat.go template.go\n```\n\nTo run tests:\n\n```bash\n$ go get github.com/stretchr/testify/assert\n$ go test -v\n$ go test -v -race\n```\n\nTo run benchmark test:\n\n```bash\n$ go test -bench=.\n```\n\nThe server would listen on port 30000, it has two apis:\n* GET: http://localhost:30000/load?servername=xxxxx\n* POST: http://localhost:30000/load?servername=yyyyy\u0026cpuload=xx.xx\u0026ramload=yy.yy\n\nTo load some data into the service, there is one script:\n\n```bash\n$ go get github.com/jawher/mow.cli\n$ go run scripts/loadtest.go -h\n# for example\n$ go run scripts/loadtest.go -s host1 -d 20150404 -c=20000\n# or, you can run multiple instances together\n$ go run scripts/loadtest.go -s host2 -d 20150307 -c=10000 -t=3 \u0026 \\\n  go run scripts/loadtest.go -s host2 -d 20150303 -c=10000 -t=3 \u0026 \\\n  go run scripts/loadtest.go -s host3 -d 20150302 -c=10000 -t=3\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftxchen%2Fservertrack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftxchen%2Fservertrack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftxchen%2Fservertrack/lists"}