fnproject/fdk-java

Support Chunked transfer encoding out of hot functions in java FDK

zootalures opened this issue · 0 comments

The fn Hot contract supports chunked encoding for output streams - currently the FDK buffers the output to get content length - we should change this to use a chunked transfer to prevent having to buffer the output into the heap of each function.

Actual behaviour:

Function that produces a lot of data will fill up ram of function container.

Expected behaviour:

Function can generate more output than its heap.