Skip to content

gem install grpc:1.45.0 takes lot of time to complete #29489

@equivalent

Description

@equivalent

What version of gRPC and what language are you using?

Ruby 3.1.1

gem install grpc:1.45.0

What operating system (Linux, Windows,...) and version?

  • M1 osx (no issue - all fine)
  • AWS hosted Ubuntu 20.04 VM with 4GB Ram & SSD. => takes lot of time to finish install
  • Docker image FROM 3.1.1 => takes lot of time to finish gem install

What runtime / compiler are you using (e.g. python version or version of gcc)

MRI Ruby 3.1.1

What did you do?

we are using gem google-cloud-web_risk which depends on grpc gem. Now when we install gem install grpc:1.45.0 in m1 macbook air it takes 2-3 minutes but finished reasonably soon.

When we try to run gem install grpc:1.45.0 on Ubuntu VM (described above) it takes 5-10 minutes to finish

But worst of all if we try to build Docker image (which we need to in order to deploy to prod) the gem install grpc:1.45.0 (alone) takes like 5-10 minutes,

FROM ruby:3.1.1
RUN gem install grpc:1.45.0 

... and if the gem is defined as a part of a Gemfile for bundle install it takes even more time (like 20 )

What did you expect to see?

Ideally this should be less time, or if you can pls provide some guide how to make this installation faster (e.g. how to precompile some core dependancy before the gem installed)

What did you see instead?

Anything else we should know about your project / environment?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions