nodejs-bigtable icon indicating copy to clipboard operation
nodejs-bigtable copied to clipboard

Table.create() is really slow when using the bigatble emulator

Open antonstefer opened this issue 1 year ago • 0 comments

Environment details

  • OS: any
  • Node.js version: any
  • npm version: any
  • @google-cloud/bigtable version: 5.0.0
  • google-gax version: 4.3.0

Steps to reproduce

  1. Call Table.create() while using the bigtable emulator
  2. This call will take around 300ms (very slow compared to before)

firebase-tools reported a similar issue at google-gax which they were able to solve by changing their config:

  • https://github.com/googleapis/gax-nodejs/issues/1566
  • https://github.com/firebase/firebase-tools/issues/6765

I'm not very familiar with this codebase but my guess is that this fix could work here as well. Otherwise I would suggest pinning the google-gax version to something like ~4.2.1.

Thank you!

antonstefer avatar Mar 12 '24 11:03 antonstefer