Hacker GitHub

← All repos

inhabitedtype/httpaf

View on GitHub ↗ ★ 538 OCaml

A high performance, memory efficient, and scalable web server written in OCaml

12 mentions on Hacker News by 6 people: 0 stories, 12 comments · first 2017-08-28 · latest 2022-01-12

Mentions per year 12 mentions · busiest year 2018 (3)
20082026
  1. I rather work with OCaml/httpaf[0] than with JS/express or what have you. [0]: https://github.com/inhabitedtype/httpaf
    comment by cies · 2022-01-12 · in From TypeScript to ReScript
  2. …cited in the article. It's great to see all the cross-pollination happening in that space! [1]: https://github.com/inhabitedtype/httpaf [2]: https://github.com/ocaml-multicore/retro-httpaf-bench/pull/1... [3]:…
    comment by Zababa · 2021-12-22 · in Parser Combinators in Haskell
  3. …so bad that it is kind of at odds with using it on a unikernel. This one is quite a bit faster: https://github.com/inhabitedtype/httpaf
    comment by cies · 2021-01-25 · in The RustyHermit Unikernel
  4. …we expect OCaml entries to show up higher in TechEmpower style benchmarks in the near future? [0]: https://github.com/inhabitedtype/httpaf
    comment by cies · 2020-11-09 · in Multicore OCaml: October 2020
  5. …or Node-based-server-side) to write your apps. For instance this fast OCaml http server: https://github.com/inhabitedtype/httpaf And you can even share types between client and server :)
    comment by cies · 2020-03-30 · in Multicore OCaml: March 2020 update
  6. …good work going on for the lower level pieces: https://github.com/anmonteiro/ocaml-h2 - HTTP2 stack https://github.com/inhabitedtype/httpaf - HTTP stack For micro-frameworks there are a few options available like…
    comment by anuragsoni · 2019-06-14 · in OCaml 4.08
  7. …( https://github.com/mirage/ocaml-cohttp )? Or dig into a high-performance, lower-level server ( https://github.com/inhabitedtype/httpaf )? Or you want a Kafka client ( https://opam.ocaml.org/packages/kafka/ )? Or maybe you can just take…
    comment by yawaramin · 2019-02-15 · in Moving from Ruby to Rust
  8. …compile to JS, or not use BS to compile to native. There exists a fast http server in native OCaml: https://github.com/inhabitedtype/httpaf
  9. …from Reason... This allows one to use really fast all-OCaml libraries. Like this HTTP server: https://github.com/inhabitedtype/httpaf
  10. …more code means more issues and bugs, and I definitely prefer to write or hack something like this: https://github.com/inhabitedtype/httpaf/blob/master/lib/pars... instead of this: https://github.com/valyala/fasthttp/blob/master/header.go…
    comment by ernst_klim · 2018-02-22 · in Go 1.10 Release Notes
  11. Anyone interested in this please look at: https://github.com/inhabitedtype/httpaf A webserver in native OCaml that's going to beat Node.js (it seems popular cohttp server in OCaml was not cutting it).
  12. But cohttp is slow. See https://github.com/mirage/ocaml-cohttp/issues/328 and https://github.com/inhabitedtype/httpaf