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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]