zio-http
Vert.x
Our great sponsors
zio-http | Vert.x | |
---|---|---|
8 | 46 | |
733 | 14,046 | |
1.1% | 0.6% | |
9.4 | 9.6 | |
7 days ago | 1 day ago | |
Scala | Java | |
Apache License 2.0 | GNU General Public License v3.0 or later |
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
-
Creating a CLI app with scala and Graal VM: should I switch to Rust?
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?
-
Show HN: Open-source non-blocking NIO Java HTTP Server
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
-
Akka Fork FUD
Yep! https://github.com/zio/zio-http
-
zio-http, any experiences to share
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?
-
A library like Express.js?
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
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!
Vert.x
-
Spark – A web micro framework for Java and Kotlin
https://vertx.io/
It's actively maintained with full time developers, performant, supports Kotlin out of the box, and has more features?
-
Reactive database access on the JVM
Hibernate Reactive integrates with Vert.x, but an extension allows to bridge to Project Reactor if wanted
-
Looking for a coroutine-based message broker implementation for inter-app communication.
Have you looked at Vert.x?
-
What's the state of server-side frameworks with Kotlin support today for small teams?
Explicitly so:
-
Anything close beam/otp for other languages?
I really like Eclipse Vert.x... As both an Erlang dev and Java dev, it's a great synergy and soon to have support for Virtual Threads similar to BEAM.
-
Go doesn’t do any magical stuff and I love that
There are many lean, popular, non-magical libraries in Java land. (https://quarkus.io/, https://vertx.io/, etc). Spring is a monster 😱. Its like comparing Kubernetes (written in Go) with some lean framework in another lang.
- PFA vs SRL
-
Favorite hidden gem library?
Eclipse Vert.x - Add amazing Async to any Java stack
-
Codeberg a GitHub Alternative from Europe
Vert.X example: https://github.com/eclipse-vertx/vert.x/blob/master/src/main/java/examples/EventBusExamples.java#L106 (couldn't even find docs)
-
Quarkus fundamentals
In fact, it builds on top of proven standards such as Eclipse MicroProfile or frameworks such as Vert.x or JAX‑RS.
What are some alternatives?
Http4s - A minimal, idiomatic Scala interface for HTTP
Akka - Build highly concurrent, distributed, and resilient message-driven applications on the JVM
FrameworkBenchmarks - Source for the TechEmpower Framework Benchmarks project
javalin - A simple and modern Java and Kotlin web framework [Moved to: https://github.com/javalin/javalin]
vertx-lang-scala - Vert.x for Scala
Quarkus - Quarkus: Supersonic Subatomic Java.
cask - Cask: a Scala HTTP micro-framework
Micronaut - Micronaut Application Framework
zio-protoquill - Quill for Scala 3
RxJava - RxJava – Reactive Extensions for the JVM – a library for composing asynchronous and event-based programs using observable sequences for the Java VM.
ocpp - Open Charge Point Protocol
helidon - Java libraries for writing microservices