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

Slow Response Time #113

Open
rsanto06 opened this issue Feb 9, 2023 · 2 comments
Open

Slow Response Time #113

rsanto06 opened this issue Feb 9, 2023 · 2 comments

Comments

@rsanto06
Copy link

rsanto06 commented Feb 9, 2023

Hi,

Currently the response time that I got from NodeJS is between 3 to 5 seconds slower than the same query ran in the Databricks UI, e.g. in Databricks I have 0.5s, and in other side with NodeJS connector I got 4.5s.

There is anything that I can do to improve this?

I followed the documentation avaiable here: https://docs.databricks.com/dev-tools/nodejs-sql-driver.html

Thank you

@rsanto06
Copy link
Author

@kravets-levko Do you have some time to check this? Thank you!

@kravets-levko
Copy link
Contributor

@rsanto06

  • which Nodejs connector version you use? Have you tried to upgrade to latest?
  • do you run your queries against SQL Warehouse or Compute cluster? Which DBR version it uses?
  • do you use AWS or Azure workspace?
  • how large your query result is?
  • is your warehouse/cluster already running when you execute your query? Keep in mind that DBSQL UI starts warehouse when you open the page, so most likely it's already up when you execute your query.
  • does Nodejs conector execute the same query faster when you run it once more?
  • if possible - please you try other conectors (Python or Go) and check if you experience similar latency or not

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

No branches or pull requests

2 participants