zio-http VS Play

Compare zio-http vs Play 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
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
zio-http Play
8 31
734 12,508
1.2% 0.2%
9.4 9.7
6 days ago about 13 hours ago
Scala Scala
Apache License 2.0 Apache License 2.0
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!

Play

Posts with mentions or reviews of Play. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-08-02.
  • Play Framework 2.9.0 Release Candidate
    1 project | news.ycombinator.com | 20 Sep 2023
  • Reflex – Web apps in pure Python
    9 projects | news.ycombinator.com | 2 Aug 2023
    My major complain here is that, as far as being a web framework there is precious little information here about the framework. How does this framework scale with multiple requests? What concurrency strategy is it using (threads, processes, actors, etc?). Is this opinionated (it doesn't seem so but it also doesn't say it isn't either). How does this work with popular libraries x,y,z. The full docs have a little bit more information, but not a ton. But mostly there are some cute toy examples and "built in python" and thats about it.

    Lets compare this with for example play https://www.playframework.com/ I know from this that it built on Akka, its stateless, aims for predictable resource consumption, has non-blocking io, etc. There is a ton of really important information on what does this web framework actually do that is really important when you are making a choice of a framework.

    I have no idea how good this framework is, but besides a few toy examples, I can't see anything that makes me thing "wow this is great I need to use this".

  • Play (1) Linux manual page
    1 project | news.ycombinator.com | 11 Jun 2023
    A web application framework for Java/Scala: https://www.playframework.com/
  • Scala opensource projects
    4 projects | /r/scala | 6 May 2023
  • Play Framework for Java and Scala
    1 project | news.ycombinator.com | 1 May 2023
  • What is scala's modern Web API framework?
    5 projects | /r/scala | 7 Mar 2023
    Scala 3 migration isn't as simple as migrating other apps, you can track the work at https://github.com/playframework/playframework/issues/11260
  • How does web developement process compare to java web developement ?
    1 project | /r/Python | 2 Mar 2023
    And there are frameworks you can use to make development easier, like Play. And Java has plenty of choices for dependency injection frameworks.
  • what library/framework should I use for backend development?
    3 projects | /r/scala | 21 Feb 2023
    However do note, Play should be perfectly usable as well, and it's still maintained by the community: https://github.com/playframework/playframework/issues/11649
  • Why I selected Elixir and Phoenix as my main stack
    36 projects | dev.to | 21 Jan 2023
    In university I learned a bit of Java, so maybe I could use it professionally I guess?. There were many options to choose from. DropWizard, Spark, Play Framework. But the more documented one in the internet I found was Springboot, besides there were some courses in spanish and some friends that knew something about Springboot, so I give it a chance.
  • Right way to use AWS & Scala
    1 project | /r/scala | 6 Nov 2022
    For a backend web server I use Play - https://www.playframework.com/ which I find to be the easiest one as a backend web server. For learning/using spark I found this course from coursera to be very useful. https://www.coursera.org/learn/scala-spark-big-data

What are some alternatives?

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

Http4s - A minimal, idiomatic Scala interface for HTTP

Spring Boot - Spring Boot

FrameworkBenchmarks - Source for the TechEmpower Framework Benchmarks project

Scalatra - Tiny Scala high-performance, async web framework, inspired by Sinatra

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

Quarkus - Quarkus: Supersonic Subatomic Java.

vertx-lang-scala - Vert.x for Scala

Finatra - Fast, testable, Scala services built on TwitterServer and Finagle

cask - Cask: a Scala HTTP micro-framework

Lift - Lift Framework

zio-protoquill - Quill for Scala 3