zio-http
Vegeta
Our great sponsors
zio-http | Vegeta | |
---|---|---|
8 | 41 | |
737 | 22,730 | |
1.6% | - | |
9.4 | 6.6 | |
4 days ago | 11 days ago | |
Scala | Go | |
Apache License 2.0 | MIT License |
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
[1] https://github.com/tsenart/vegeta
[2] https://github.com/zio/zio-http/pull/1659
-
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!
Vegeta
-
Netlify just sent me a $104K bill for a simple static site
Vegeta worth a look if you want something a bit more sophisticated: https://github.com/tsenart/vegeta
-
Under Pressure: Benchmarking Node.js on a Single-Core EC2
There are tons of tools to do this, I'll use Vegeta
-
Deep-dive into Vegeta - HTTP load testing tool and library
To install vegeta, grab the right download url from https://github.com/tsenart/vegeta/releases/tag/v12.11.1 and download using the below command.
-
Set Up Tracing for a Node.js Application on AppSignal
One of the easiest ways to send lots of fabricated requests at the same time is to use the Vegeta load testing tool. Being a load testing tool, it can send lots of requests consistently, every second, to the given target URL. You can read more about Vegeta on GitHub. The binary can be downloaded and used without installation.
-
What tools you use for http load testing?
Good morning what tool do you use to test your infra in terms of http load ? A tool that works, I tested : - https://github.com/tsenart/vegeta but it returns 0 errors or a http_net error from Golang - LOIC (Low Orbit Ion Canon) https://github.com/NewEraCracker/LOIC but the requests do not appear in my nginx logs and I feel no slowdown - Apache Jmeter https://jmeter.apache.org/ but I can't drop my infra and I have Java socket closed errors - K6 https://k6.io/ but I can't bring down my infra with - wrk https://github.com/wg/wrk no matter what parameter I put it doesn't make enough requests per second, I put the same parameters as on a tutorial and I don't get the same result...
-
How does one answer performance related questions such as these for a web API?
I use tools like vegeta and wrk2 to answer those questions.
-
Why use internal package and main package in the same module?
A module can be an executable and a library at the same time. For example, https://github.com/tsenart/vegeta
-
Where to learn more as I scale up?
Some tools to investigate: * https://prometheus.io/ * https://github.com/tsenart/vegeta
-
How to learn system performance as a beginner?
No, not at all. You just need a tool like Vegeta.
-
How to Deploy and Scale Strapi on a Kubernetes Cluster 1/2
vegeta v12.8.4
What are some alternatives?
Http4s - A minimal, idiomatic Scala interface for HTTP
k6 - A modern load testing tool, using Go and JavaScript - https://k6.io
FrameworkBenchmarks - Source for the TechEmpower Framework Benchmarks project
Hey - HTTP load generator, ApacheBench (ab) replacement
Vert.x - Vert.x is a tool-kit for building reactive applications on the JVM
Gatling - Modern Load Testing as Code
vertx-lang-scala - Vert.x for Scala
kubernetes - Production-Grade Container Scheduling and Management
cask - Cask: a Scala HTTP micro-framework
bombardier - Fast cross-platform HTTP benchmarking tool written in Go
zio-protoquill - Quill for Scala 3
Apache JMeter - Apache JMeter open-source load testing tool for analyzing and measuring the performance of a variety of services