You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by GitBox <gi...@apache.org> on 2022/03/31 12:20:25 UTC

[GitHub] [lucene] JohannesLichtenberger commented on pull request #518: Initial rewrite of MMapDirectory for JDK-18 preview (incubating) Panama APIs (>= JDK-18-ea-b26)

JohannesLichtenberger commented on pull request #518:
URL: https://github.com/apache/lucene/pull/518#issuecomment-1084507956


   I'm working on a similar approach for my data store, but I'm currently not sure if it's a good idea for multiple readers plus a single reader/writer to map a segment for each reader. I guess the OS will then share the mapped regions/the pages between the mapped memory segments? Not sure if it's the same approach in Lucene, so that you'd create multiple `IndexInput`s for multiple index readers, because you also seem to a have a clone method (but it will fail once the segments are closed from one reader).
   
   On another note, what's your take on this (Andy and Victor are real genioses regarding database systems)?
   http://cidrdb.org/cidr2022/papers/p13-crotty.pdf
   
   
   


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

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



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