You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow to allocate multipart upload buffers as direct buffer rather than
on the heap.
We try to set a pretty large multipart upload part size on cluster to
optimize throughput and reduce S3 requests.
At the same time, we try to keep kafka JVM heap size contained on most
kafka installation in order to leave as much memory as possible for the
page cache. As a matter of example, we will use 4GB heap size on
machines with 64GB available memory.
The consequence of using pretty large multipart upload size on contained
JVM heap size is that we can pretty easily run out of heap size if we
suddenly have to upload many segments to tiered storage.
The strategy we propose is to allocate multipart buffer in direct memory
so that we can more easily configure direct buffer budget.
0 commit comments