-
Notifications
You must be signed in to change notification settings - Fork 149
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
New Feature/Enhancement Request: Binary release (and make it small) #963
Comments
ibm_db uses clidriver for connectivity which is different for different platform. If we add clidriver also with ibm_db, size will be very large, we can't avoid that. If you check unpacked size of current ibm_db at https://www.npmjs.com/package/ibm_db, it is of 14.1MB under which https://github.com/ibmdb/node-ibm_db/blob/master/build.zip is of 11.2MB. So, actual size of ibm_db is less than 3MB and it is also due to 2MB of test files. Currently, we are already shipping precompiled windows binaries for all node versions > 12.0 and electron binaries for electron version > 19 in build.zip file. If we add pre-compiled binaries for other platforms also like Linuxx64, MacOS, AIX, LinuxPPCLE, LinuxPPC64, zLinux, z/OS, other platforms, the size of build.zip will grow more than 70MB itself which will make this package very bulky and burden on us too to generate so many binaries before every release.
We would certainly like to know more about this issue. If you can share why it is not working and what is blocking, we can try to fix it. Also, let me know, how I can reproduce this problem myself which will help to fix faster. Thanks. |
I would focus on typical container runtimes which is Linux on x86. Some vendors have native drivers, so basically a DRDA implementation in Typescript would be needed. |
Opened Epic in Internal Jira to add pre-compiled Linux binaries in ibm_db driver: https://jira.rocketsoftware.com/browse/DBC-14897. Currently, this Epic is scheduled for 2024. We can not implement DRDA in any open source language as we'll loose control over requirement of db2connect license for z/OS and iSeries servers. A DRDA implementation in open source can be modified by any user to bypass license check. We can not support or maintain any open source driver that do not use IBM ODBC or JDBC driver for connectivity. Thanks. |
Is your feature request related to a problem? Please describe.
It requires some infrastructure to use the driver.
Describe the solution you'd like
Distribute a small, directly usable library / module. No compilation, small in size, core features blazing fast.
Additional context
The Db2 driver is not working in certain compute environments like Functions as a Service.
The text was updated successfully, but these errors were encountered: