A question about Http4s new major version

This page summarizes the projects mentioned and recommended in the original post on /r/scala

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • scala-http-benchmark

    So my question is - why does http4s have already ~3 years of development time for its 1.0 version? Also bonus question - why does it have such a poor performance in these benchmarks? I know that those aren't everything but the difference is very huge and I would like to know if there is a post or comment somewhere(or anything) from a person that did a deep dive into it and could explain why the performance is what it is. Also, can anyone share an experience of using http4s in a prod environment? What are the specs of vm it needs to handle 1000 rps?

  • async-profiler

    Sampling CPU and HEAP profiler for Java featuring AsyncGetCallTrace + perf_events

    You can use async-profiler to see what is happening under the hood.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

  • cats-effect

    The pure asynchronous runtime for Scala

    Those benchmarks are using a snapshot version of cats-effect. I don't know where that one comes from, but previously they were using a snapshot from https://github.com/typelevel/cats-effect/pull/3332 which had some issues (3.5-6581dc4, 70% performance degradation), which have since been resolved (see that PR for more info and comparative benchmarks).

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts