You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@inlong.apache.org by GitBox <gi...@apache.org> on 2021/07/28 11:27:09 UTC

[GitHub] [incubator-inlong] dockerzhang opened a new issue #832: [INLONG-233] Performance Improvement on FileSegmentList

dockerzhang opened a new issue #832:
URL: https://github.com/apache/incubator-inlong/issues/832


   <p>Current implementation of FileSegmentList is based on <b>native compact array</b> (Object[]), so:<br/>
    1. it lacks flexibility on add/remove;<br/>
    2. it would suffer a great performance impact while applying CAS performing an operation;<br/>
    3. it may cause phantom read as multiple temporary copy of candidates may fail to announce its update due to unintended currentView change;<br/>
    4. less space efficiency, as there might be multiple temporary copies in system in order to do an update.</p>
   
   <p>So this issue is raised to optimize the storage list, and it's to exploit <b>RoundQueue</b> structure to achieve a better performance while make use of <b>weak CAS</b> to better adapt multi-threaded runtime.</p>
   <i>JIRA link - <a href="https://issues.apache.org/jira/browse/INLONG-233">[INLONG-233]</a> created by hystericalhell</i>


-- 
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: dev-unsubscribe@inlong.apache.org

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



[GitHub] [incubator-inlong] dockerzhang closed issue #832: [INLONG-233] Performance Improvement on FileSegmentList

Posted by GitBox <gi...@apache.org>.
dockerzhang closed issue #832:
URL: https://github.com/apache/incubator-inlong/issues/832


   


-- 
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: dev-unsubscribe@inlong.apache.org

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