Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
dTub
Скачать

Producer Consumer Pattern - With Java Example

Автор: Jakob Jenkov

Загружено: 2021-04-19

Просмотров: 33928

Описание:

The Producer Consumer Pattern is a work load distribution pattern where the number of worker threads is decoupled from the number of tasks they have to execute. In this video I explain how the producer consumer pattern works in multithreading. You can also implement the producer consumer pattern with processes (instead of threads), but since this video is part of a playlist about Java Concurrency, I will focus on how the producer consumer pattern looks for threads.

Chapters:
0:00 Producer consumer pattern introduction
4:01 Producer consumer pattern use cases
4:24 Reduce foreground thread latency - GUI app
7:21 Reduce foreground thread latency - server
9:50 Load balance between worker threads - recap
10:40 Backpressure management
13:50 Producer consumer Java code example

The Producer Consumer Pattern - text:
http://tutorials.jenkov.com/java-conc...

Java BlockingQueue - text / video:
http://tutorials.jenkov.com/java-util...
   • Java BlockingQueue  

Java Concurrency - text / video playlist:
http://tutorials.jenkov.com/java-conc...
   • Java Concurrency and Multithreading  

Producer Consumer Pattern - With Java Example

Поделиться в:

Доступные форматы для скачивания:

Скачать видео mp4

  • Информация по загрузке:

Скачать аудио mp3

Похожие видео

array(0) { }

© 2025 dtub. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]