Hi,
We use the Post Request node to send data and then get a response back from API. Data size can range anywhere between 50K to 1 Million. We have a i7, 64GB RAM, KNIME 5.2. However, the speed for the API returns is very low. Sometimes it can take hours to 2 days. We moved to a faster upload speed- say going up to almost 500 MBPS (upload), changed xmx to 50G and added -Dorg.knime.container.cellsinmemory=10000000 to the config file but nothing has improved the speed of API returns. Can someone please help?
Yes, we can break files and run things in parallel but we want to improve speed, either way. What should I be doing?
If you are calling out to external HTTP APIs the bottleneck is the network latency. The bandwidth of your internet connection doesn’t even matter much neither do any memory settings in KNIME. You can increase the Concurrency setting in the dialog, which masks the latency a bit.
You can try making the request with a Python script (use the AI to write the script, check if it works and then ask it again to optimize the script and make it concurrent/multithread).
Compare the result vs using the POST request node combined with increasing concurrency and using the parallelism nodes.