Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Benchmarks #271

Open
HsinHeng opened this issue Jul 19, 2021 · 4 comments
Open

Benchmarks #271

HsinHeng opened this issue Jul 19, 2021 · 4 comments

Comments

@HsinHeng
Copy link

First, thanks contributors creating this awesome and useful framework for grpc.

Currently, there are several frameworks like nest.js, firecomm, condor... support grpc.

It is interested to know, is malijs performance closed to native @grpc/grpc-js?
Does anyone has benchmarks?

If Mali performamce is closed to native @grcp/grpc-js.
We will use it more confidently.

Framework Version Unary Requests/sec
@grpc/grpc-js
malijs
nest.js
firecomm
condor
@anonrig
Copy link
Member

anonrig commented Jul 19, 2021

Hi,

Thank you for the issue. Even though we don't have an exact benchmark for Mali, with the recent optimizations in the last 2 versions of Mali, I can easily say that Mali is a performant grpc microservice framework. I would like to create a benchmark for these frameworks and compare them to Mali but unfortunately, I'll be moving to NYC and I'm swamped with personal issues.

@anonrig
Copy link
Member

anonrig commented Jul 19, 2021

It seems that Firecomm and Condor is outdated and abandoned. Since nest.js is not a gRPC framework it would be unnecessary to compare with Mali.

@HsinHeng
Copy link
Author

Hi,

Thank you for the issue. Even though we don't have an exact benchmark for Mali, with the recent optimizations in the last 2 versions of Mali, I can easily say that Mali is a performant grpc microservice framework. I would like to create a benchmark for these frameworks and compare them to Mali but unfortunately, I'll be moving to NYC and I'm swamped with personal issues.

Thanks for your reply.
Maybe we can just compare mali with native @grpc/grpc-js.
We can provide some result & sample code here if we have free time.

@CovertCode
Copy link

Despite of the benchmarks I think its still better to use gRPC-js or malijs for backend to backend communication instead of REST. gRPC still outperforms for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants