Open afrozl opened 4 years ago
Hello,
thank you for reaching to us. If I understand it correctly, you are looking for something like TruffleRuby standalone distribution? Note that the size of compressed TruffleRuby standalone is around ~140MB -- would that be small enough?
Yes, that could work, The AWS limit on runtime binary + associated code is 250MB (uncompressed)
I've experimented with the R native image and it appears to address the slow startup issues with fastR. The warm-up time is reduced by 50% and is low enough to justify using fastR for scripts that normally take longer than the overhead of the startup.
However, my goal is to deploy the R native image as a custom runtime for AWS lambda. Given the maximum size constraints inherent to lambda, I was wondering if there is a way to create a standalone binary for fastR?
I apologize if this isn't the appropriate forum to ask these types of questions.