{"id":13546795,"url":"https://github.com/http-kit/http-kit","last_synced_at":"2025-05-14T09:06:02.054Z","repository":{"id":2707811,"uuid":"3701855","full_name":"http-kit/http-kit","owner":"http-kit","description":"Simple, high-performance event-driven HTTP client+server for Clojure","archived":false,"fork":false,"pushed_at":"2025-04-15T08:28:50.000Z","size":2466,"stargazers_count":2476,"open_issues_count":55,"forks_count":343,"subscribers_count":107,"default_branch":"master","last_synced_at":"2025-04-30T08:09:36.594Z","etag":null,"topics":["async","clojure","http-client","http-server","websockets"],"latest_commit_sha":null,"homepage":"https://www.taoensso.com/http-kit","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/http-kit.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2012-03-13T00:51:18.000Z","updated_at":"2025-04-25T18:33:14.000Z","dependencies_parsed_at":"2024-01-08T18:03:39.966Z","dependency_job_id":"c339c19c-7e1c-4ed8-b237-36306c4324ea","html_url":"https://github.com/http-kit/http-kit","commit_stats":{"total_commits":584,"total_committers":106,"mean_commits":5.509433962264151,"dds":0.6078767123287672,"last_synced_commit":"d10ea7de76bd748a14a1c7329d1c615ca3e571be"},"previous_names":[],"tags_count":62,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/http-kit%2Fhttp-kit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/http-kit%2Fhttp-kit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/http-kit%2Fhttp-kit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/http-kit%2Fhttp-kit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/http-kit","download_url":"https://codeload.github.com/http-kit/http-kit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252272949,"owners_count":21721831,"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":["async","clojure","http-client","http-server","websockets"],"created_at":"2024-08-01T12:00:45.048Z","updated_at":"2025-05-06T18:54:06.159Z","avatar_url":"https://github.com/http-kit.png","language":"Java","readme":"\u003cspan\u003e\u003cimg src=\"http-kit-logo.png\" alt=\"http-kit\" width=\"140\"/\u003e\u003c/span\u003e  \n[**API**][cljdoc] | [Latest releases](#latest-releases) | [Slack channel][]\n\n# http-kit\n\n### Simple, high-performance event-driven HTTP client+server for Clojure\n\nhttp-kit is a minimalist and efficient Ring-compatible HTTP client+server for Clojure.\n\nIt uses an event-driven architecture to support highly concurrent a/synchronous web applications, and features a simple unified API for WebSocket and HTTP long-polling/streaming.\n\n## Latest release/s\n\n- `2025-04-15` `v2.9.0-beta1`: (dev) [release info](../../releases/tag/v2.9.0-beta1)\n- `2024-02-30` `v2.8.0`: (stable) [release info](../../releases/tag/v2.8.0)\n\n[![Main tests][Main tests SVG]][Main tests URL]\n[![Graal tests][Graal tests SVG]][Graal tests URL]\n\nSee [here][GitHub releases] for earlier releases.\n\n## Why http-kit?\n\n- **Ring compliant**: http-kit is a drop-in replacement for the standard Ring Jetty adapter. You can use it with all your current libraries and middleware.\n\n- **High performance**: http-kit uses an event-driven architecture like nginx, and is **fast**. See [here](#performance) for benchmarks.\n\n- **High concurrency**: http-kit is **efficient**. Its RAM usage is O(n), with only few kB used per connection. Tests have [shown](https://http-kit.github.io/600k-concurrent-connection-http-kit.html) http-kit happily serving \u003e600k concurrent connections.\n\n- **Clean, simple, small**: written from the ground-up to be **lean**, the entire http-kit client+server JAR is ~90kB with **zero dependencies** and ~3k total lines of code.\n\n- **Sync or async**: synchronous is simple, asynchronous fast \u0026 flexible. With http-kit you get the best of both with a simple API that lets you mix \u0026 match to best fit your use case.\n\n- **WebSockets**: realtime web apps are a breeze with http-kit, with great out-the-box support for both WebSockets and efficient HTTP long-polling.\n\n## Production usage\n\nFor production environments, it's **strongly recommended** to run http-kit behind a well-configured and battle-hardened reverse proxy like [nginx](https://docs.nginx.com/nginx/admin-guide/web-server/reverse-proxy/), [Caddy](https://caddyserver.com/docs/quick-starts/reverse-proxy), [HAProxy](https://www.haproxy.org/), [AWS ALB](https://docs.aws.amazon.com/elasticloadbalancing/latest/application/introduction.html), etc.\n\nSee [here](../../wiki/3-Server#production-environments) for more info.\n\n## Performance\n\nhttp-kit now includes an extensive single-system **benchmark suite** that can be easily customized and run in your own environment.\n\nSee [here](../../wiki/4-Benchmarking) for http-kit's **benchmark philosophy**, usage info, detailed results, etc.\n\nSelected example results:\n\n\u003e **Important**: as with all benchmarks - please be skeptical and check the details for important context!\n\n![chart-server-work-0](../../raw/master/benchmarks/charts/server-work-0.png)\n\n![chart-client-https](../../raw/master/benchmarks/charts/client-https.png)\n\n## Project status\n\nhttp-kit was created by [@shenfeng][], but is currently being maintained by its community.\n\nA big thank-you to the [current contributors](../../graphs/contributors) for keeping the project going! **Additional contributors very welcome**: please ping me if you'd be interested in lending a hand.\n\n\\- [Peter Taoussanis][]\n\n## Documentation\n\n- [Wiki][GitHub wiki] (getting started, usage, etc.)\n- API reference via [cljdoc][cljdoc]\n- Support via [Slack channel][] or [GitHub issues][]\n\n## License\n\nCopyright \u0026copy; 2012-2025 [Feng Shen][@shenfeng] and contributors.  \nLicensed under [Apache 2.0](LICENSE.txt).\n\n\u003c!-- Common --\u003e\n\n[GitHub releases]: ../../releases\n[GitHub issues]:   ../../issues\n[GitHub wiki]:     ../../wiki\n[Slack channel]: https://www.taoensso.com/http-kit/slack\n\n[Peter Taoussanis]: https://www.taoensso.com\n\n\u003c!-- Project --\u003e\n\n[cljdoc]: https://cljdoc.org/d/http-kit/http-kit/\n\n[Clojars SVG]: https://img.shields.io/clojars/v/http-kit.svg\n[Clojars URL]: https://clojars.org/http-kit\n\n[Main tests SVG]:  https://github.com/http-kit/http-kit/actions/workflows/main-tests.yml/badge.svg\n[Main tests URL]:  https://github.com/http-kit/http-kit/actions/workflows/main-tests.yml\n[Graal tests SVG]: https://github.com/http-kit/http-kit/actions/workflows/graal-tests.yml/badge.svg\n[Graal tests URL]: https://github.com/http-kit/http-kit/actions/workflows/graal-tests.yml\n\n\u003c!-- Unique --\u003e\n\n[@shenfeng]: https://github.com/shenfeng\n","funding_links":[],"categories":["Java","HTTP","III. Network and Integration","网络编程"],"sub_categories":["4. Http and ssh"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhttp-kit%2Fhttp-kit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhttp-kit%2Fhttp-kit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhttp-kit%2Fhttp-kit/lists"}