wrk
crystal
Our great sponsors
wrk | crystal | |
---|---|---|
36 | 238 | |
36,595 | 19,050 | |
- | 0.4% | |
0.0 | 9.8 | |
3 months ago | 4 days ago | |
C | Crystal | |
GNU General Public License v3.0 or later | Apache License 2.0 |
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.
wrk
-
Ruby on Rails load testing habits
> My initial requirement was to send requests with unique parameters. To the best of my knowledge, no tool could do this.
wrk does this with lua. https://github.com/wg/wrk/blob/master/src/wrk.lua
Also even things like the venerable jmeter supported pulling parameters from a csv file.
-
Running a Billion Workflows a month with Netflix Conductor
We used wrk2, a fantastic tool to generate stable load on the server. Wrk2 improves on wrk and adds the ability to generate sustained load at a specific rate (-R parameter).
-
Grasshopper – An Open Source Python Library for Load Testing
We use locust at work but I HIGHLY recommend wrk for a very robust yet simple load testing tool.
And of course, this talk by Gil Tene is fantastic if you're interested in load testing stats https://www.youtube.com/watch?v=lJ8ydIuPFeU
-
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...
-
My Rust server on a $20 VPS handles 10k requests per second with no caching. Is it just me or is that crazy ?
You could try to just blast it with wrk or bombardier. Can easily get around 50k requests on consumer machine.
-
[2023] Nginx proxy_pass to apache mod_php VS nginx proxy_pass to apache php-fpm vs nginx php-fpm
Sure, first I did the load testing on the same machine. The same machine ran web servers, php-fpm and ab / wrk programs.
-
a tool for quickly creating web and microservice code
Using the wrk tool to pressure test the api
-
Denial of Wallet Attacks: The new (D)DoS in a Serverless world
Here is what it takes to inflict $$$ damages to a service using "serverless functions" under the hood, with wrk:
-
Node.js Cluster vs Axum, a.k.a. yet another benchmark :)
The benchmark is a simple "hello world" server that returns a JSON response. Server frameworks are correspondingly Fastify for Node and Axum for Rust. Both were running on my laptop (specs should not matter, IMHO, as this is not about absolute numbers). Test load was provided by wrk that was running on the same machine.
-
Protocol Buffer x JSON para serialização de dados
Testes usando a ferramenta WRK para fazer requests simultâneos nas rotas e comparar quantos requests por segundo a API suporta
crystal
-
Top Paying Programming Technologies 2024
27. Crystal - $77,104
-
Crystal 1.11.0 Is Released
I like the first code example on https://crystal-lang.org
# A very basic HTTP server
> What's the state of Windows support.
https://github.com/crystal-lang/crystal/issues/5430
> UPDATE 2023-04-24:
> All the main platform features for Windows are finished!
> There are still some smaller stories pending. Project board: https://github.com/orgs/crystal-lang/projects/11/views/5
> You can support the ongoing development financially: Windows suppport (https://opencollective.com/crystal-lang/projects/windows-sup...) project on Open Collective.
- Is Fortran "A Dead Language"?
- Odin Programming Language
- I Love Ruby
-
Ruby 3.3's YJIT: Faster While Using Less Memory
Obviously as an interpreted language, it's never going to be as fast as something like C, Rust, or Go. Traditionally the ruby maintainers have not designed or optimized for pure speed, but that is changing, and the language is definitely faster these days compared to a decade ago.
If you like the ruby syntax/language but want the speed of a compiled language, it's also worth checking out Crystal[^1]. It's mostly ruby-like in syntax, style, and developer ergonomics.[^2] Although it's an entirely different language. Also a tiny community.
-
Jets: The Ruby Serverless Framework
Ruby is a super fun scripting language. I much prefer it to python when I need something with a little more "ooomph" than bash. It's just...nice...to write in. Ruby performance has come a long way in the last decade as well. There's libraries for pretty much everything.
My modern programming toolkit is basically golang + ruby + bash and I am never left wanting.
I do find Crystal (https://crystal-lang.org/) really interesting and am hoping it has its own "ruby on rails" moment that helps the language reach a tipping point in popularity. All the beauty of ruby with all of the speed of Go (and then some, it often compares favorably to languages like rust in benchmarks).
-
Rage: Fast web framework compatible with Rails
> It always puzzled me why Crystal didn't catch up?
M:N wasn't added until late 2019 :( -- https://github.com/crystal-lang/crystal/pull/8112
What are some alternatives?
wrk2 - A constant throughput, correct latency recording variant of wrk
zig - General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
Nim - Nim is a statically typed compiled systems programming language. It combines successful concepts from mature languages like Python, Ada and Modula. Its design focuses on efficiency, expressiveness, and elegance (in that order of priority).
go - The Go programming language
Elixir - Elixir is a dynamic, functional language for building scalable and maintainable applications
siege - Siege is an http load tester and benchmarking utility
mint-lang - :leaves: A refreshing programming language for the front-end web
grpcurl - Like cURL, but for gRPC: Command-line tool for interacting with gRPC servers
Odin - Odin Programming Language
tree-sitter-crystal
android.cr - Create Android applications using Crystal and the NDK
rust - Empowering everyone to build reliable and efficient software.