uranusjr opened a new pull request, #69125: URL: https://github.com/apache/airflow/pull/69125
Previously, frame encoding and decoding are done against an in-memory byte array. This is simple, but may cause issues with very large amount of data, since the frame protocol allows 2^32 bytes of data per frame with the potential to clog the entire JVM. This uses the MessagePack library's MessageBuffer helper to encode to and decode from a MessagePack message into multiple lazy buffers, converting each buffer to a byte array separately on demand to reduce peak memory usage. I also cleaned up some abstractions since they are already pretty empty prior to this change. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
