Live data from Hacker News

Show HN: A microservice framework, listed in CNCF Landscape, 1 year 10k+ stars

github.com

1–10 of 43 posts

Re: Show HN: A microservice framework, listed in CNCF Landscape, 1 year 10k+ stars

#3

Little bit confused by the chart in the benchmark section: https://github.com/zeromicro/go-zero#7-benchmark What is it trying to show?

Compares to the other frameworks, the test code is here: https://github.com/smallnest/go-web-framework-benchmark

Re: Show HN: A microservice framework, listed in CNCF Landscape, 1 year 10k+ stars

#5

It would create more interesting conversation if you highlighted the merits of your design rather than superficial measures like CNCF blessings (there are thousands of such projects) and GitHub stars (easily gamed).

The description might not be good enough, but I have to write something. It's used by many companies and projects. And the design is described in github readme, it's rather long to tell here. Thanks!

Re: Show HN: A microservice framework, listed in CNCF Landscape, 1 year 10k+ stars

#7

It would create more interesting conversation if you highlighted the merits of your design rather than superficial measures like CNCF blessings (there are thousands of such projects) and GitHub stars (easily gamed).

The description might not be good enough, but I have to write something. It's used by many companies and projects. And the design is described in github readme, it's rather long to tell here. Thanks!

Is getting listed in cncf landscape a big deal? Is it an official cncf project?

Re: Show HN: A microservice framework, listed in CNCF Landscape, 1 year 10k+ stars

#8

Little bit confused by the chart in the benchmark section: https://github.com/zeromicro/go-zero#7-benchmark What is it trying to show?

Compares to the other frameworks, the test code is here: https://github.com/smallnest/go-web-framework-benchmark

The graph is unparsable for me. Typically, for what I think is trying to be shown, you would put the requests per second on the x axis, you would put the response times on the y axis, and the color coding be to assign them a label of the framework. I'd probably use a line chart too since, as we increase rps, we expect a change in response time.

What the graph reads:

If my framework is beego and I want to get 30k rps, I would need to limit my data to processing times in the 0ms bucket. I think? Or maybe gin will allow for 7.5k rps if my processing time is 500ms?

Like, I think I can get to similar information to what you are trying to show if I read backwards, upside down, and rotated 90 degrees.

Re: Show HN: A microservice framework, listed in CNCF Landscape, 1 year 10k+ stars

#9
I had to dig in a bit to see the whole scope of this project. It seems go-zero has:

1) Go library/main that wraps gRPC handlers to build a server, like Dropwizard or TwitterServer?

2) A CLI tool "goctl" that does code generation for setting up the code layout (server and client API stubs), as well as some Docker/k8s functionality for deploying.

I'm not into Go so can't comment on aspects like the performance benchmark.

However the project documentation is quite interesting if you'd like to see how, presumably the company for which this was built for, their production environment is set up like CI/CD, logging, etc.

It could be more helpful if the architecture diagram showed the roles of the different pieces better. For example it isn't immediately clear what component does authentication so then the JWT can be used for service authorization. So the question would be is how much is the framework tied to some assumptions in a production setup.

Re: Show HN: A microservice framework, listed in CNCF Landscape, 1 year 10k+ stars

#10

It would create more interesting conversation if you highlighted the merits of your design rather than superficial measures like CNCF blessings (there are thousands of such projects) and GitHub stars (easily gamed).

I am eager to know how to game GitHub stars. Funding agencies love metrics and random KPI so I would love to deliver...
Post reply on HN