GithubHelp home page GithubHelp logo

jeffdik / http-kit Goto Github PK

View Code? Open in Web Editor NEW

This project forked from http-kit/http-kit

0.0 0.0 0.0 1.63 MB

Simple, high-performance event-driven HTTP client+server for Clojure

Home Page: https://www.taoensso.com/http-kit

License: Apache License 2.0

Shell 1.39% JavaScript 0.10% Ruby 0.22% C 1.30% Java 70.05% Clojure 26.34% Go 0.60%

http-kit's Introduction

http-kit
Documentation | Latest releases | Get support

http-kit

Simple, high-performance event-driven HTTP client+server for Clojure

http-kit is a minimalist and efficient Ring-compatible HTTP client+server for Clojure.

It 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.

Latest release/s

  • 2023-06-30 2.7.0 (stable): changes
  • 2023-09-27 2.8.0-beta1 (dev): changes

Main tests Graal tests

See here for earlier releases.

Why http-kit?

  • 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.

  • High performance: http-kit uses an event-driven architecture like nginx, and is fast. It comfortably handles tens of thousands of requests/sec on even low-end hardware.

  • High concurrency: http-kit is efficient. Its RAM usage is O(n), with only few kB used per connection. Tests have shown http-kit happily serving >600k concurrent connections.

  • 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 lines of code.

  • Sync or async: synchronous is simple, asynchronous fast & flexible. With http-kit you get the best of both with a simple API that lets you mix & match to best fit your use case.

  • WebSockets and Comet: realtime web apps are a breeze with http-kit, with great out-the-box support for both WebSockets and efficient HTTP long-polling.

Status

http-kit was created by @shenfeng, but is currently being maintained by its community.

A big thank-you to the current contributors for keeping the project going! Additional contributors very welcome: please ping me if you'd be interested in lending a hand.

- Peter Taoussanis

Documentation

License

Copyright © 2012-2023 Feng Shen and contributors.
Licensed under Apache 2.0.

http-kit's People

Contributors

shenfeng avatar ptaoussanis avatar philipa avatar ryfow avatar kipz avatar kumarshantanu avatar venantius avatar bsless avatar ruiyun avatar cursork avatar mpenet avatar alekcz avatar chouser avatar songsd avatar rufoa avatar xwang1498 avatar dinduks avatar pyrtsa avatar borkdude avatar mhjort avatar skazhy avatar jaley avatar daviesian avatar djui avatar trevor avatar ikitommi avatar thingographist avatar kjir avatar smee avatar roklenarcic avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.