Asynchronous Producer Consumer with BlockingQueue in Java

What is it Producer Consumer pattern is used when one module (producer) produces events, messages or any other kind of data with various pace and the other module (consumer) processes it when the data occur. The asynchronous version means that the producer does not wait until consumer processes each item - just sends it to … Continue reading Asynchronous Producer Consumer with BlockingQueue in Java