forked from Alexey/DAS_2024_1
27 lines
1.3 KiB
Markdown
27 lines
1.3 KiB
Markdown
|
## Лабораторная работа №4 ПИбд-42 Артамонова Татьяна
|
|||
|
|
|||
|
### Прохождение туториала
|
|||
|
1. 
|
|||
|
2. 
|
|||
|
3. 
|
|||
|
|
|||
|
### Запуск приложений и анализ скорости обработки
|
|||
|
|
|||
|
1. Запуск Publisher, Consumer 1 и Consumer 2.
|
|||
|
* Consumer 1: Очередь order_queue_1 будет иметь некоторое количество сообщений, так как Consumer 1 обрабатывает сообщения с задержкой в 2 секунды.
|
|||
|
* Consumer 2: Очередь order_queue_2 будет практически пустой, так как Consumer 2 обрабатывает сообщения моментально.
|
|||
|
|
|||
|
2. Запуск нескольких копий Consumer 1
|
|||
|
* Очередь order_queue_1 будет иметь меньше сообщений, так как 3 Consumer-а обрабатывают сообщения быстрее, чем 1 Consumer.
|
|||
|
|
|||
|

|
|||
|
|
|||
|

|
|||
|
|
|||
|

|
|||
|
|
|||
|

|
|||
|
|
|||
|
### Видео
|
|||
|
https://vk.com/video/@artamonovat?section=upload&z=video212084908_456239359
|