Description
Based on my reading of the code in Lucene, what I can see is we keep the graph structure OnHeap which not only puts additional pressure on JVM but also creates a bottleneck where we cannot create larger graphs.
One solution I was thinking is to move the graph structure during merge time to offheap, and also during write write it directly through off heap.
I am not sure if we have tried this in past, but I was going to put a POC around this. If anyone has some thoughts or ideas please share.
Description
Based on my reading of the code in Lucene, what I can see is we keep the graph structure OnHeap which not only puts additional pressure on JVM but also creates a bottleneck where we cannot create larger graphs.
One solution I was thinking is to move the graph structure during merge time to offheap, and also during write write it directly through off heap.
I am not sure if we have tried this in past, but I was going to put a POC around this. If anyone has some thoughts or ideas please share.