{"id":22200274,"url":"https://github.com/http-kit/scale-clojure-web-app","last_synced_at":"2025-07-27T02:33:05.986Z","repository":{"id":6432900,"uuid":"7671573","full_name":"http-kit/scale-clojure-web-app","owner":"http-kit","description":"Show how many concurrent connections can be handled by http-kit","archived":false,"fork":false,"pushed_at":"2013-03-30T04:40:26.000Z","size":593,"stargazers_count":97,"open_issues_count":6,"forks_count":17,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-04-03T17:52:45.165Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","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/http-kit.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":"2013-01-17T18:16:47.000Z","updated_at":"2024-09-02T14:35:31.000Z","dependencies_parsed_at":"2022-08-27T04:00:51.061Z","dependency_job_id":null,"html_url":"https://github.com/http-kit/scale-clojure-web-app","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/http-kit/scale-clojure-web-app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/http-kit%2Fscale-clojure-web-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/http-kit%2Fscale-clojure-web-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/http-kit%2Fscale-clojure-web-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/http-kit%2Fscale-clojure-web-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/http-kit","download_url":"https://codeload.github.com/http-kit/scale-clojure-web-app/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/http-kit%2Fscale-clojure-web-app/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267288945,"owners_count":24064725,"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","status":"online","status_checked_at":"2025-07-27T02:00:11.917Z","response_time":82,"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-12-02T15:22:11.052Z","updated_at":"2025-07-27T02:33:05.502Z","avatar_url":"https://github.com/http-kit.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# scale clojure web application\n\nTest how Clojure web application scales concurrent HTTP connections with [http-kit](https://github.com/http-kit/http-kit)\n\n600K concurrent HTTP connections with 3G heap.\n\nMore info: [600k concurrent HTTP connections on PC, with Clojure \u0026 http-kit](http://http-kit.org/600k-concurrent-connection-http-kit.html)\n\nIf a more powerful hardware is at hand and you want to get a larger number:\n\nTuning TCP/IP buffer sizes\n\n```sh\n# edit run_server. give it more RAM, http-kit will use ~2k  per connection\njava -server -Xms3072m -Xmx3072m  \\\n    -cp `lein classpath` clojure.main \\\n    -m main $@\n```\n\n```java\n// edit ConcurrencyBench.java.\nfinal static int PER_IP = 20000;  // 63K is the upper bound\nfinal static InetSocketAddress ADDRS[] = new InetSocketAddress[30];\n// 600k concurrent connections\nfinal static int CONCURENCY = PER_IP * ADDRS.length;\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhttp-kit%2Fscale-clojure-web-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhttp-kit%2Fscale-clojure-web-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhttp-kit%2Fscale-clojure-web-app/lists"}