Discussion
A handler writes to a queue with a zero timeout and the queue is full. The correct handling is
Answer: B
Blocking in a handler is impossible, so the only options are to drop the item or to overwrite one, and either way the loss should be counted so it can be seen. A persistent overflow count is the signal that the queue or the consumer needs attention.
No comment is present. Be the first to comment.
Loading…
Post your comment
Please log in or register to post a comment.
Examination Categories
- SSC Exams
- Banking Exams
- Teaching Exams
- Civil Services Exams
- Railways Exams
- Engineering Recruitment Exams
- Defence Exams
- State Government Exams
- Police Exams
- Insurance Exams
- Nursing Exams
- Other Government Exams
- NRA CET
- PG Entrance Exams
- Campus Placement
- MBA Entrance Exams
- CUET and UG Entrance
- Judiciary Exams
- Regulatory Body Exams
- Software Development