I run ETL jobs against Netsuite which serves as a CRM and ERP at my company. These ETL jobs connect via the read only JDBC/ODBC connection and pull data into a larger data ecosystem.
There are multiple ETL jobs that sometimes run concurrently. We also have about a hundred users that may log in and run ad hoc querys or updates at any point through out the day.
Our custom ETL jobs pulling from Netsuite currently come to a total of 3. We also leverage the data visualization tool, Domo. Domo may be running as many as a dozen different ETLs at various cadences in order to create Domo housed logic and visualizations. I don't right now have exact visibility on Domo... looking in to that. For the purpose of this discussion I'd like to assume that it may be competing for resources regarding the JDBC/ODBC connection and also running multiple jobs on an hourly cadence.
We have been seeing JDBC connection failures.
We had been running each of our custom ETL jobs on independent cadences that coincided on the hour. One every half hour, the other two on the hour. Since we have changed our process to running in series instead of concurrently we do not see connection errors like this:
ERROR scalikejdbc.ActiveSession - Failed preparing the statement (Reason: [NetSuite][SuiteAnalytics Connect JDBC Driver]TCP/IP error, connection reset by peer.):\n'
We will be adding more ETL jobs in the future and Netsuite integrations and cadences will become more critical to business day-to-day functionality than ever. I need to get a better understanding and visibility the following things:
- What are the limitations on odbc and jdbc connections?
- What are best practices for pulling and pushing data from and to Netsuite programmatically and rigorously?
- How can I get visibility on Netsuite performance?
- Is there a way we can purchase vertical or horizontal scaling in our Netsuite servers to enhance performance to meet our business needs? And what would those services be called in Netsuite lingo?