Hi,
I wish to use Run Code in Services and use external libraries in Services. Is this possible? I cannot seem to find Run Code among the action nodes.
Hi,
I wish to use Run Code in Services and use external libraries in Services. Is this possible? I cannot seem to find Run Code among the action nodes.
Hi!
The option to use Run Code and external libraries in Services is not possible. This is due to a 2-second timeout we’ve put in place to prevent heavy workloads and reduce the risk of platform misuse.
Additionally, supporting external libraries would significantly increase the potential for security vulnerabilities, so we’ve chosen to keep things restricted.
Okay, because this was registered as a challenge 2 years ago, and we need it because we have a lot of critical functionality in Services.
But for the meanwhile, do you have any tips for using spatial indexing? Currently I am using the RBush JavaScript library for 2D spatial indexing of points and rectangles. But this cannot be used in Services. The reason is that I need a high performance way of iterating large data sources.
Hi!
I believe that experience is quite limited. Note that javascript can be used in services when the whole library is bundled into the run code / function in services.
The challenge / wish of freely adding third party libs in services has not been done, as we are uncomfortable with the potential security risks that may impose in a shared cluster environment - and bundling is still an option (or to host an external microservice yourself).