Git Product home page Git Product logo

Comments (4)

data-henrik avatar data-henrik commented on September 4, 2024

image

https://github.com/ibmdb/node-ibm_db#prerequisite

from node-ibm_db.

bimalkjha avatar bimalkjha commented on September 4, 2024

@data-henrik

Distribute a small, directly usable library / module. No compilation, small in size, core features blazing fast.

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.
Since, ibm_db uses C++ code as add-on binary and for add-on binaries, nodejs suggest to use local compilation. Same is for other packages with add on binaries or they support very limited OS.

The Db2 driver is not working in certain compute environments like Functions as a Service.

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.

from node-ibm_db.

data-henrik avatar data-henrik commented on September 4, 2024

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.

from node-ibm_db.

bimalkjha avatar bimalkjha commented on September 4, 2024

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.

from node-ibm_db.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.