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
  • Revelo Payroll - Free Global Payroll designed for tech teams
  • InfluxDB - Collect and Analyze Billions of Data Points in Real Time
  • Onboard AI - Learn any GitHub repo in 59 seconds
  • SonarQube - Static code analysis for 29 languages.
  • 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.

  • Revelo Payroll

    Free Global Payroll designed for tech teams. Building a great tech team takes more than a paycheck. Zero payroll costs, get AI-driven insights to retain best talent, and delight them with amazing local benefits. 100% free and compliant.

  • 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