When to prefer LinkedBlockingQueue over ArrayBlockingQueue?
<p>When to prefer <code>LinkedBlockingQueue</code> over <code>ArrayBlockingQueue</code>?</p>

<p>Which data structure to use among <code>LinkedBlockingQueue</code> and <code>ArrayBlockingQueue</code> when:</p>

<ol>
<li>You want an efficient read and write</li>
<li>should have lesser memory footprints</li>
</ol>

<p>Although there is a similar question but it does not highlight the fact that which should be preferred? </p>

<p>Links: </p>

<ul>
<li><a href="https://stackoverflow.com/questions/17061882/java-arrayblockingqueue-vs-linkedblockingqueue">Java: ArrayBlockingQueue vs. LinkedBlockingQueue</a></li>
<li><a href="https://stackoverflow.com/questions/18375334/what-is-the-difference-between-arrayblockingqueue-and-linkedblockingqueue?rq=1">What is the Difference between ArrayBlockingQueue and LinkedBlockingQueue</a></li>
</ul>