httpaf VS ocaml-opium-unikernel

Compare httpaf vs ocaml-opium-unikernel and see what are their differences.

httpaf

A high performance, memory efficient, and scalable web server written in OCaml (by inhabitedtype)

ocaml-opium-unikernel

Example unikernel using opium + httpaf (using https://github.com/dinosaure/paf-le-chien) (by anuragsoni)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
httpaf ocaml-opium-unikernel
2 2
533 10
0.6% -
0.0 0.0
4 months ago about 4 years ago
OCaml OCaml
GNU General Public License v3.0 or later -
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

httpaf

Posts with mentions or reviews of httpaf. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-12-22.

ocaml-opium-unikernel

Posts with mentions or reviews of ocaml-opium-unikernel. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-01-25.
  • The road ahead for MirageOS in 2021
    2 projects | news.ycombinator.com | 25 Jan 2021
    Yesterday I was made aware of this example of using a simple (Sinatra/Flask/Express-like) web framework on top of Mirage:

    https://github.com/anuragsoni/ocaml-opium-unikernel/blob/mas...

    If not mistaken one should be able to use ReasonML[1] as a language frontend with this as well, thereby bringing down the entry barrier.

    https://reasonml.github.io/docs/en/what-and-why

  • The RustyHermit Unikernel: unikernel written in Rust
    4 projects | news.ycombinator.com | 25 Jan 2021
    Lwt [1] based web frameworks can be used on MirageOS if they provide an interface that allows someone to swap out the unix dependent pieces. One such framework is Opium [2], that provides most of its features in a unix independent code library `opium_kernel`. Its fairly straightforward to run an opium app on mirage. This example needs to be updated to the newest apis in the released version of Opium but this can provide some hints about how to run an opium app on mirage: https://github.com/anuragsoni/ocaml-opium-unikernel.

    If a lower level web toolkit is sufficient then ocaml's cohttp [3] library has been available on mirage for quite some time now.

    [1] https://github.com/ocsigen/lwt/

    [2] https://github.com/rgrinberg/opium

    [3] https://github.com/mirage/ocaml-cohttp/

What are some alternatives?

When comparing httpaf and ocaml-opium-unikernel you can also consider the following projects:

ocaml-cohttp - An OCaml library for HTTP clients and servers using Lwt or Async

ling - Erlang on Xen

dream - Tidy, feature-complete Web framework

paf-le-chien - Port of HTTP/AF & H2 with Mirage and mimic

assert-combinators - Functional assertion combinators.

pyparsing - Python library for creating PEG parsers

ocaml-h2 - An HTTP/2 implementation written in pure OCaml

attoparsec - A fast Haskell library for parsing ByteStrings

parser - String parser combinators

retro-httpaf-bench - Benchmarking environment for http servers