ggershinsky commented on PR #7770:
URL: https://github.com/apache/iceberg/pull/7770#issuecomment-2346086255

   Regarding the caching limit - 1 minute might be too short. If a reader (or 
writer) refreshes a table each few minutes, there could be many KMS unwrap 
calls. In the new 
[commit](https://github.com/apache/iceberg/pull/7770/commits/1c03cd19c6fc68f4a086340e7f884d69580930ca),
 I've changed this to a combined limit of 1000 entries or 1 day. Each entry is 
comprised of a "wrapped key" (could be up to a few hundred bytes, depending on 
KMS), and "unwrapped key" (a few dozen bytes), so the 1000 entries / max size 
is something like 0.5MB. 
   @rdblue what do you think? 


-- 
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: issues-unsubscr...@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to