zio-http VS scala-http-benchmark

Compare zio-http vs scala-http-benchmark and see what are their differences.

zio-http

A next-generation Scala framework for building scalable, correct, and efficient HTTP clients and servers (by zio)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
zio-http scala-http-benchmark
8 2
737 14
1.6% -
9.4 4.7
3 days ago 9 months ago
Scala Scala
Apache License 2.0 MIT License
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.

zio-http

Posts with mentions or reviews of zio-http. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-03-07.
  • Creating a CLI app with scala and Graal VM: should I switch to Rust?
    1 project | /r/scala | 31 Aug 2023
    For JNI, make sure you have `-H:+JNI` in your native image options. Be aware that Netty is a bit of a monster to include in a native image application (I just recently added it a Netty dependency and it completely broke my project and took a good day to figure out). Mine was through zio-http and I was able to piece together some working options from github issues: https://github.com/zio/zio-http/issues/20.
  • What is scala's modern Web API framework?
    5 projects | /r/scala | 7 Mar 2023
  • Show HN: Open-source non-blocking NIO Java HTTP Server
    8 projects | news.ycombinator.com | 24 Oct 2022
    What's the hardware being used for your test? I get 55k RPS with a basic 200 responder with zio-http[0] (which uses Netty) on my i5-6600K, and over 20k RPS for an e2e POST endpoint that does write batching to postgres (committing the insert before responding with the db generated id). Postgres, client (vegeta[1]), and the app all on the same machine. I think that was with keep-alive, I think like 256 clients for the basic responder and 1024 for the one that writes to the db. There's a recently merged PR for zio-http that does 1M req/s on whatever machine they test on[2] so Netty can absolutely scale to high RPS.

    [0] https://github.com/zio/zio-http

    [1] https://github.com/tsenart/vegeta

    [2] https://github.com/zio/zio-http/pull/1659

  • Akka Fork FUD
    2 projects | /r/scala | 21 Sep 2022
    Yep! https://github.com/zio/zio-http
  • zio-http, any experiences to share
    2 projects | /r/scala | 17 Sep 2022
    I was looking at HTTP frameworks for Scala. I found zio-http, https://zio.github.io/zio-http/. Has anyone tried this framework?
  • How is scala as microservices-based backend for web service?
    3 projects | /r/scala | 25 Aug 2021
  • A library like Express.js?
    7 projects | /r/scala | 26 Jul 2021
    https://github.com/dream11/zio-http very simple and super performant, dead easy to abstract over routes to make a router
  • ZIO vs. Cats Effect for api
    2 projects | /r/scala | 10 Jun 2021
    I'm starting a new project, essentially a standard web app (SPA + rest api). I'd like to stay as functional as possible. I'm debating between http4s + cats effect, http4s + zio, and zio-http (https://github.com/dream11/zio-http). I'm having a hard time figuring out which stack has the strongest (safest?) future especially with scala 3 out. Cats Effect 3 looks amazing, but so does the zio ecosystem. Thanks for any opinions/advice!

scala-http-benchmark

Posts with mentions or reviews of scala-http-benchmark. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-04-25.
  • A question about Http4s new major version
    3 projects | /r/scala | 25 Apr 2023
    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?
  • zio-http, any experiences to share
    2 projects | /r/scala | 17 Sep 2022

What are some alternatives?

When comparing zio-http and scala-http-benchmark you can also consider the following projects:

Http4s - A minimal, idiomatic Scala interface for HTTP

async-profiler - Sampling CPU and HEAP profiler for Java featuring AsyncGetCallTrace + perf_events

FrameworkBenchmarks - Source for the TechEmpower Framework Benchmarks project

cats-effect - The pure asynchronous runtime for Scala

Vert.x - Vert.x is a tool-kit for building reactive applications on the JVM

vertx-lang-scala - Vert.x for Scala

cask - Cask: a Scala HTTP micro-framework

zio-protoquill - Quill for Scala 3

ocpp - Open Charge Point Protocol

libreforge - Self-hosted git and fuller service built from microservices

ZparkIO - Boiler plate framework to use Spark and ZIO together.

cask - Project management tool for Emacs