You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "dentiny (via GitHub)" <gi...@apache.org> on 2025/09/21 04:32:51 UTC

[PR] chore: Expose object cache [iceberg-rust]

dentiny opened a new pull request, #1698:
URL: https://github.com/apache/iceberg-rust/pull/1698

   ## What changes are included in this PR?
   
   object storage cache is introduced at https://github.com/apache/iceberg-rust/pull/512, which seems to be used for (internal) scan only for now.
   
   I did some profiling on [moonlink](https://github.com/Mooncake-Labs/moonlink) CPU, and found loading manifest list takes 23% CPU.
   <img width="1848" height="832" alt="image" src="https://github.com/user-attachments/assets/caf5b8e2-9f22-4cd8-9106-b8f77cfc6137" />
   
   So I would like to expose access to object storage, so I could attempt to get manifest list myself.
   I think it's beneficial for all accesses requiring manifest and manifest list, which is not confined to only scan workload.
   
   ## Are these changes tested?
   
   No-op change, just visibility update.


-- 
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-unsubscribe@iceberg.apache.org

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


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


Re: [PR] chore: Expose object cache [iceberg-rust]

Posted by "dentiny (via GitHub)" <gi...@apache.org>.
dentiny commented on PR #1698:
URL: https://github.com/apache/iceberg-rust/pull/1698#issuecomment-3321702499

   > Do you mean to fill the cache by yourself? Why not just provide your own cache implementation?
   
   Thanks for the quick review!
   
   I don't plan to do any writes, the only purpose for exposure is to share the cache content for multiple reads from both iceberg-rust internal scan and external usage.


-- 
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-unsubscribe@iceberg.apache.org

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


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


Re: [PR] chore: Expose object cache [iceberg-rust]

Posted by "liurenjie1024 (via GitHub)" <gi...@apache.org>.
liurenjie1024 commented on PR #1698:
URL: https://github.com/apache/iceberg-rust/pull/1698#issuecomment-3327496510

   I have concerns exposing this cache. It's for internal usage only and should be transparent to user.


-- 
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-unsubscribe@iceberg.apache.org

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


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


Re: [PR] chore: Expose object cache [iceberg-rust]

Posted by "dentiny (via GitHub)" <gi...@apache.org>.
dentiny commented on PR #1698:
URL: https://github.com/apache/iceberg-rust/pull/1698#issuecomment-3330581822

   > I have concerns exposing this cache. It's for internal usage only and should be transparent to user.
   
   My question is: 
   - Could you please share more about your concern? If we don't want exposed cache to be written, we could hide the write interface by visbility?
   - My hope is to share object cache inside and outside the crate, without which I have to afford an IO operation anyway, and likely a re-implementation of whatever-cache
   


-- 
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-unsubscribe@iceberg.apache.org

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


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


Re: [PR] chore: Expose object cache [iceberg-rust]

Posted by "liurenjie1024 (via GitHub)" <gi...@apache.org>.
liurenjie1024 commented on PR #1698:
URL: https://github.com/apache/iceberg-rust/pull/1698#issuecomment-3332906860

   > Could you please share more about your concern? If we don't want exposed cache to be written, we could hide the write interface by visbility?
   
   The concern is as I said, cache should be transparent to user, so it should not show up in public interface.
   
   > My hope is to share object cache inside and outside the crate, without which I have to afford an IO operation anyway, and likely a re-implementation of whatever-cache
   
   I think the right direction is to enhance the logic to use cache for manifest load/store, rather than exposing to user to allow them to manipulate it outside.


-- 
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-unsubscribe@iceberg.apache.org

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


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


Re: [PR] chore: Expose object cache [iceberg-rust]

Posted by "dentiny (via GitHub)" <gi...@apache.org>.
dentiny commented on PR #1698:
URL: https://github.com/apache/iceberg-rust/pull/1698#issuecomment-3332930226

   > I think the right direction is to enhance the logic to use cache for manifest load/store, rather than exposing to user to allow them to manipulate it outside.
   
   gotcha, sounds like the write through / read through cache I mentioned in the comment
   Let me have a try
   
   Thank you! 
   


-- 
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-unsubscribe@iceberg.apache.org

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


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


Re: [PR] chore: Expose object cache [iceberg-rust]

Posted by "liurenjie1024 (via GitHub)" <gi...@apache.org>.
liurenjie1024 commented on PR #1698:
URL: https://github.com/apache/iceberg-rust/pull/1698#issuecomment-3317972232

   It's a small change, but I have concerns about the purpose of this pr. Do you mean to fill the cache by yourself? Why not just provide your own cache implementation?


-- 
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-unsubscribe@iceberg.apache.org

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


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


Re: [PR] chore: Expose object cache [iceberg-rust]

Posted by "dentiny (via GitHub)" <gi...@apache.org>.
dentiny closed pull request #1698: chore: Expose object cache
URL: https://github.com/apache/iceberg-rust/pull/1698


-- 
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-unsubscribe@iceberg.apache.org

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


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