ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 43 - AD0-E718 discussion

Report
Export

An Adobe Commerce Architect notices that queue consumers close TCP connections too often on Adobe Commerce Cloud server leading to delays in processing messages.

The Architect needs to make sure that consumers do not terminate after processing available messages in the queue when CRON job is running these consumers.

How should the Architect meet this requirement?

A.
Increase multiple_process limit to spawn more processes for each consumer.
Answers
A.
Increase multiple_process limit to spawn more processes for each consumer.
B.
Set CONSUMER_WAIT_FOR_MAX_MESSAGES variable true in deployment stage.
Answers
B.
Set CONSUMER_WAIT_FOR_MAX_MESSAGES variable true in deployment stage.
C.
Change max_messages from 10,000 to 1,000 for CRON_CONSUMER_RUNNERvariable.
Answers
C.
Change max_messages from 10,000 to 1,000 for CRON_CONSUMER_RUNNERvariable.
Suggested answer: B

Explanation:

The best way to meet this requirement is to set the CONSUMERWAITFORMAXMESSAGES variable to true in the deployment stage. This variable will ensure that the consumer will not terminate when there are no more messages in the queue and will instead wait until a new message is available, preventing it from closing the connection prematurely. Additionally, the multiple_processes limit can be increased to spawn more processes for each consumer, which will help ensure that messages can be processed faster.

asked 02/10/2024
Sergey Ushakov
33 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first