ghz VS grpc-go

Compare ghz vs grpc-go and see what are their differences.

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
ghz grpc-go
6 29
2,884 19,870
- 0.7%
5.8 9.6
2 days ago 7 days ago
Go Go
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.

ghz

Posts with mentions or reviews of ghz. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-01-07.
  • Production Twitter on One Machine: 100Gbps NICs and NVMe Are Fast
    5 projects | news.ycombinator.com | 7 Jan 2023
    I once built a quick and dirty load testing tool for a public facing service we built. The tool was pretty simple - something like https://github.com/bojand/ghz but with traffic and data patterns closer to what we expected to see in the real world. We used argo-workflows to generate scale.

    One thing which we noticed was that there was a considerable difference in performance characteristics based on how we parallelized the load testing tool (multiple threads, multiple processes, multiple kubernetes pods, pods forced to be distributed across nodes).

    I think that when you run non-distrubuted load tests you benefit from bunch of cool things which happen with http2 and Linux (multiplexing, resource sharing etc) which might make applications seem much faster than they would be in the real world.

  • GRPC Performance Testing , Load Testing
    5 projects | /r/grpc | 14 Apr 2022
    I'm not sure. Maybe you can write to the discussion section of the repo https://github.com/bojand/ghz/discussions
  • Testing gRPC services - request collections and modern load testing
    4 projects | dev.to | 25 Sep 2021
    In part 1 we looked at ghz for load testing gRPC services, and now I want to cover k6, which claims to be a modern load testing tool built for developer happiness. After only a brief experience with it I can see why is that and why Grafana moved to acquire k6 earlier this year.
  • grpc_bench: open-source, objective gRPC benchmark
    6 projects | /r/cpp | 20 Apr 2021
    It should be unbound, in this particular benchmark we set ghz concurrency to 50 and connections to 5 and we don't set the rps flag of ghz (e.g. --rps=2000, from this tool)
    3 projects | /r/grpc | 20 Apr 2021
    a second container running ghz makes unary requests to the server

grpc-go

Posts with mentions or reviews of grpc-go. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-09.
  • Reverse Engineering Protobuf Definitions from Compiled Binaries
    5 projects | news.ycombinator.com | 9 Mar 2024
    The reflection service is open-sourced (at least for some sdks):

    * https://github.com/grpc/grpc-go/blob/master/Documentation/se...

    * https://chromium.googlesource.com/external/github.com/grpc/g...

  • gRPC Name Resolution & Load Balancing on Kubernetes: Everything you need to know (and probably a bit more)
    5 projects | dev.to | 6 Feb 2024
    Weโ€™re hoping to make this rate at least optional via this pull request but as the time of writing this blog, itโ€™s nothing we can do to circle our way around it.
  • Full Stack Forays with Go and gRPC
    5 projects | dev.to | 5 Jun 2023
    First, I started with gRPCโ€™s recommended starter repository for learning gRPC, their **helloworld **example, which is a part of the official gRPC repository.
  • Tools besides Go for a newbie
    36 projects | /r/golang | 26 Mar 2023
    IDE: use whatever make you productive. I personally use vscode. VCS: git, as golang communities use github heavily as base for many libraries. AFAIK Linter: use staticcheck for linting as it looks like mostly used linting tool in go, supported by many also. In Vscode it will be recommended once you install go plugin. Libraries/Framework: actually the standard libraries already included many things you need, decent enough for your day-to-day development cycles(e.g. `net/http`). But here are things for extra: - Struct fields validator: validator - Http server lib: chi router , httprouter , fasthttp (for non standard http implementations, but fast) - Web Framework: echo , gin , fiber , beego , etc - Http client lib: most already covered by stdlib(net/http), so you rarely need extra lib for this, but if you really need some are: resty - CLI: cobra - Config: godotenv , viper - DB Drivers: sqlx , postgre , sqlite , mysql - nosql: redis , mongodb , elasticsearch - ORM: gorm , entgo , sqlc(codegen) - JS Transpiler: gopherjs - GUI: fyne - grpc: grpc - logging: zerolog - test: testify , gomock , dockertest - and many others you can find here
  • Curl 8.0.1 because I jinked it
    5 projects | news.ycombinator.com | 21 Mar 2023
    If you read the first comment, youโ€™ll see the API was documented as being experimental.

    https://github.com/grpc/grpc-go/issues/3798#issuecomment-670...

  • When is go not a good choice?
    7 projects | /r/golang | 3 Mar 2023
    The lack of this analysis still results in bugs and CVEs. See how many races are found and fixed in gRPC releases: https://github.com/grpc/grpc-go/releases (search "race"). It's a shame Google does not publish these as CVEs, because many of them qualify.
  • Rust for backend. Is it recommended?
    4 projects | /r/rust | 28 Feb 2023
    I like to point people at this release to show that not even Google -- in its own language on its own library for its own RPC protocol -- can write thread-safe Go, so what chance does anyone else have. Maybe we have to stop thinking of Go as a language for mission critical parallel computing and think of it more like a Python 4 made for low-risk prototyping. Mature libraries help for that prototyping, you know how to put them together and get something working, that something just won't be scaleable, efficient, or thread-safe.
  • Partially-Implemented Interfaces in Go
    1 project | /r/golang | 24 Feb 2023
    I first learned about this technique when gRPC generated code started using it. See the short readme and the long issue discussion. I think a lot more of the rationale from the discussion should have made it into the readme, since this is the only time most Go developers will ever see this technique used, especially since it can't be retrofitted to existing interfaces without breaking existing implementations.
  • goRPC or gRPC?
    5 projects | /r/golang | 12 Feb 2023
    I don't have any experience with goRPC (I'm assuming you're referring to https://github.com/valyala/gorpc), but just to note that that repo hasn't been updated in 7 years and has open issues that are that old, too. https://github.com/grpc/grpc-go has 17.5k stars and is actively maintained. That doesn't say anything about their relative performance - goRPC might be faster - but you probably won't have a fun time if you run into issues.
  • Golang is evil on shitty networks
    21 projects | news.ycombinator.com | 29 Dec 2022
    Found the root cause from https://github.com/grpc/grpc-go/commit/383b1143 (original issue: https://github.com/grpc/grpc-go/issues/75):

        // Note that ServeHTTP uses Go's HTTP/2 server implementation which is

What are some alternatives?

When comparing ghz and grpc-go you can also consider the following projects:

grpcurl - Like cURL, but for gRPC: Command-line tool for interacting with gRPC servers

rpcx - Best microservices framework in Go, like alibaba Dubbo, but with more features, Scale easily. Try it. Test it. If you feel it's better, use it! ๐‰๐š๐ฏ๐šๆœ‰๐๐ฎ๐›๐›๐จ, ๐†๐จ๐ฅ๐š๐ง๐ ๆœ‰๐ซ๐ฉ๐œ๐ฑ! build for cloud!

jmeter-grpc-plugin - A JMeter plugin supports load test gRPC

validator - :100:Go Struct and Field validation, including Cross Field, Cross Struct, Map, Slice and Array diving

grpc_bench - Various gRPC benchmarks

go-zero - A cloud-native Go microservices framework with cli tool for productivity.

gRPC - The C based gRPC (C++, Python, Ruby, Objective-C, PHP, C#)

go-micro - A Go microservices framework

k6 - A modern load testing tool, using Go and JavaScript - https://k6.io

Echo - High performance, minimalist Go web framework

gRPC - The Java gRPC implementation. HTTP/2 based RPC

KrakenD - Ultra performant API Gateway with middlewares. A project hosted at The Linux Foundation