Hi

A parallel problem to the problem I described earlier in this list is a
following:

The parameters are still the same:

- I have a producer who produces items in the queue (integer). The producer
adds some items when the queue is half of its initial size.

- The consumer just picks the item and write to a log file and goes to
sleep a while...


When I define a chorum of 2 machines - One producer, and one consumer, I
consume 1320 items in 5 minutes.

When I define a quorum of 3 machines - One producer and two consumers, I
consume 2693 items in 5 minutes (expected!)

When I define a quorum of 4 machines - One producer and three consumers, I
suddenly, consume only 1975 items in 5 minutes!! (Even less than the
precedent configuration!!)

I would thank you for your help/. This issue is relatively urgent for me..

Best regards
Benjamin

Attachment: MyQueueConsumer.java
Description: Binary data

Attachment: QueueProducer.java
Description: Binary data

Reply via email to