Performance degrades with larger result sets.

Issue #12 invalid
Kristopher Baehr created an issue

Whether running SQL statements, or SP calls, performance degrades significantly with this connector as the number of rows being returned increases. We have a stored procedure that returns a user-specified number of rows. When calling the same Stored Procedure with Node.js and JDBC on Tomcat, 100 rows or fewer results in Node.js is faster. But, when calling with 1000 rows, Node.js response times were averaging 650 ms, and JDBC on Tomcat average 250 ms. Nearly all time for these https requests is spent on the stmt.execute() and stmt.fetchAll() for the stored procedure call. The performance monitor indicated very similar response times from the SQL engine between these two methods. This indicates that something may need to be tweaked in the connector, or perhaps there is a connection or statement attribute that I need to set. Please advise.

Comments (4)

  1. Kristopher Baehr reporter

    Upgrading to blocker. We cannot use Node.js on the IBM i for production purposes until this is resolved.

  2. Kristopher Baehr reporter

    I've been performance testing to get some more concrete numbers and from what I'm seeing this connector is not the issue. This issue can be closed.

  3. Log in to comment