[jira] [Commented] (QPID-4591) mechanism to detect when messages are overwritten in ring-type queues

2013-05-27 Thread Justin Ross (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-4591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13667747#comment-13667747
 ] 

Justin Ross commented on QPID-4591:
---

Gordon, is there any more work remaining for this issue?

 mechanism to detect when messages are overwritten in ring-type queues
 -

 Key: QPID-4591
 URL: https://issues.apache.org/jira/browse/QPID-4591
 Project: Qpid
  Issue Type: New Feature
  Components: C++ Broker
Affects Versions: 0.18
Reporter: Ernest Allen
Assignee: Gordon Sim
 Fix For: Future

 Attachments: bz691411.patch1


 A way to determine when a ring queue is full and old messages are being 
 deleted. Also need a way to determine when the ring queue is no longer full.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (QPID-4591) mechanism to detect when messages are overwritten in ring-type queues

2013-05-27 Thread Gordon Sim (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-4591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13667749#comment-13667749
 ] 

Gordon Sim commented on QPID-4591:
--

Not directly. As noted in the review linked to above, the addAnnotations() 
method this change uses currently has a significant impact on performance. I 
have put up a patch for review at https://reviews.apache.org/r/11329/ that 
minimises the impact.

 mechanism to detect when messages are overwritten in ring-type queues
 -

 Key: QPID-4591
 URL: https://issues.apache.org/jira/browse/QPID-4591
 Project: Qpid
  Issue Type: New Feature
  Components: C++ Broker
Affects Versions: 0.18
Reporter: Ernest Allen
Assignee: Gordon Sim
 Fix For: Future

 Attachments: bz691411.patch1


 A way to determine when a ring queue is full and old messages are being 
 deleted. Also need a way to determine when the ring queue is no longer full.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (QPID-4591) mechanism to detect when messages are overwritten in ring-type queues

2013-05-24 Thread Robbie Gemmell (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-4591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13666050#comment-13666050
 ] 

Robbie Gemmell commented on QPID-4591:
--

New python tests excluded from runs against the Java broker in 
http://svn.apache.org/r1485953

 mechanism to detect when messages are overwritten in ring-type queues
 -

 Key: QPID-4591
 URL: https://issues.apache.org/jira/browse/QPID-4591
 Project: Qpid
  Issue Type: New Feature
  Components: C++ Broker
Affects Versions: 0.18
Reporter: Ernest Allen
Assignee: Gordon Sim
 Fix For: Future

 Attachments: bz691411.patch1


 A way to determine when a ring queue is full and old messages are being 
 deleted. Also need a way to determine when the ring queue is no longer full.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (QPID-4591) mechanism to detect when messages are overwritten in ring-type queues

2013-05-24 Thread Gordon Sim (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-4591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13666094#comment-13666094
 ] 

Gordon Sim commented on QPID-4591:
--

(oops, sorry Robbie!)

 mechanism to detect when messages are overwritten in ring-type queues
 -

 Key: QPID-4591
 URL: https://issues.apache.org/jira/browse/QPID-4591
 Project: Qpid
  Issue Type: New Feature
  Components: C++ Broker
Affects Versions: 0.18
Reporter: Ernest Allen
Assignee: Gordon Sim
 Fix For: Future

 Attachments: bz691411.patch1


 A way to determine when a ring queue is full and old messages are being 
 deleted. Also need a way to determine when the ring queue is no longer full.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (QPID-4591) mechanism to detect when messages are overwritten in ring-type queues

2013-05-24 Thread Robbie Gemmell (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-4591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13666125#comment-13666125
 ] 

Robbie Gemmell commented on QPID-4591:
--

Not to worry, only noticed this morning that they were failing as we had 
previously broken the test job itself :)

 mechanism to detect when messages are overwritten in ring-type queues
 -

 Key: QPID-4591
 URL: https://issues.apache.org/jira/browse/QPID-4591
 Project: Qpid
  Issue Type: New Feature
  Components: C++ Broker
Affects Versions: 0.18
Reporter: Ernest Allen
Assignee: Gordon Sim
 Fix For: Future

 Attachments: bz691411.patch1


 A way to determine when a ring queue is full and old messages are being 
 deleted. Also need a way to determine when the ring queue is no longer full.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (QPID-4591) mechanism to detect when messages are overwritten in ring-type queues

2013-05-21 Thread Gordon Sim (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-4591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13663527#comment-13663527
 ] 

Gordon Sim commented on QPID-4591:
--

Ernie's patch applied as http://svn.apache.org/r1485001

 mechanism to detect when messages are overwritten in ring-type queues
 -

 Key: QPID-4591
 URL: https://issues.apache.org/jira/browse/QPID-4591
 Project: Qpid
  Issue Type: New Feature
  Components: C++ Broker
Affects Versions: 0.18
Reporter: Ernest Allen
Assignee: Gordon Sim
 Fix For: Future

 Attachments: bz691411.patch1


 A way to determine when a ring queue is full and old messages are being 
 deleted. Also need a way to determine when the ring queue is no longer full.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (QPID-4591) mechanism to detect when messages are overwritten in ring-type queues

2013-05-13 Thread Justin Ross (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-4591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13655924#comment-13655924
 ] 

Justin Ross commented on QPID-4591:
---

An approach currently under review:

https://reviews.apache.org/r/11009/

 mechanism to detect when messages are overwritten in ring-type queues
 -

 Key: QPID-4591
 URL: https://issues.apache.org/jira/browse/QPID-4591
 Project: Qpid
  Issue Type: New Feature
  Components: C++ Broker
Affects Versions: 0.18
Reporter: Ernest Allen
 Fix For: Future


 A way to determine when a ring queue is full and old messages are being 
 deleted. Also need a way to determine when the ring queue is no longer full.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (QPID-4591) mechanism to detect when messages are overwritten in ring-type queues

2013-02-25 Thread JAkub Scholz (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-4591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13585779#comment-13585779
 ] 

JAkub Scholz commented on QPID-4591:


ad QMF)
An QMF event informing about the overwriting isn't a bad idea. But the problem 
with QMF is that it cannot be properly secured with ACL. So for some Qpid users 
(in our situation a broker used to connect hundreds of customers to our 
service) we cannot really provide the access to the QMF without causing 
possible security issues.

ad alt exchange)
I can imagine to create a construct using an alternate exchange as described by 
Ernest. But such construct will be not exactly user friendly. This will get 
additionally complicated when you are working with multiple ring-type queues 
receiving the same messages at the same time - some of them having the messages 
overwritten and some of them not. You would need to have for each ring type 
queue a separate alternate exchange with another small ring-type signal queue. 
Also, it is a bit overkill to resend all the messages to alternate exchange 
just to give a signal that they are being overwritten. When you create the 
ring type queue, you usually expect the messages to get lost - you just want to 
know when it happens.

I would maybe suggest following solutions ...

1) Assigning a new custom header to the remaining message(s) which will mark 
that some messages were overwritten (i.e. something similar to the redelivered 
flag).

or

2) Adding a queue level message sequencing which would work in a similar way as 
the exchange level sequencing, but the sequence IDs will be assigned only to 
the messages which are routed into the queue (+ the sequence will be persisted 
to possibly survive the restart of the broker - unlike with the exchange level 
sequencing). The sequence IDs can be used by the client to detect gaps. (this 
is from my perspective the best solution)

 mechanism to detect when messages are overwritten in ring-type queues
 -

 Key: QPID-4591
 URL: https://issues.apache.org/jira/browse/QPID-4591
 Project: Qpid
  Issue Type: New Feature
  Components: C++ Broker
Affects Versions: 0.18
Reporter: Ernest Allen
 Fix For: Future


 A way to determine when a ring queue is full and old messages are being 
 deleted. Also need a way to determine when the ring queue is no longer full.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (QPID-4591) mechanism to detect when messages are overwritten in ring-type queues

2013-02-22 Thread Jimmy Jones (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-4591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13584608#comment-13584608
 ] 

Jimmy Jones commented on QPID-4591:
---

I think QMF should be able to help you

 mechanism to detect when messages are overwritten in ring-type queues
 -

 Key: QPID-4591
 URL: https://issues.apache.org/jira/browse/QPID-4591
 Project: Qpid
  Issue Type: New Feature
  Components: C++ Broker
Affects Versions: 0.18
Reporter: Ernest Allen
 Fix For: Future


 A way to determine when a ring queue is full and old messages are being 
 deleted. Also need a way to determine when the ring queue is no longer full.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (QPID-4591) mechanism to detect when messages are overwritten in ring-type queues

2013-02-19 Thread Ernest Allen (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-4591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13581452#comment-13581452
 ] 

Ernest Allen commented on QPID-4591:


A suggested implementation is:
Send the deleted messages to the alternate exchange associated with a queue. 
That would let any application detect them by binding to that exchange as 
appropriate. That is also more susceptible to ACL control.

To avoid this mechanism causing build up of messages that the ring policy is 
attempting to avoid, the queue bound to the alternate exchange could have be a 
ring queue of size 1, meaning it only ever held the last message which I think 
would be sufficient to notify of the dropping of messages.

So for the application, the following would happen:
- create an alternate exchange for use with the ring queue
- create the ring queue, associating it with the alternate exchange
- create an overflow ring queue with max-count=1
- bind the overflow queue with the alternate exchange

- watch the overflow queue. When a message appears, the original queue is full 
and has just overflowed.
- remove the overflow message

 mechanism to detect when messages are overwritten in ring-type queues
 -

 Key: QPID-4591
 URL: https://issues.apache.org/jira/browse/QPID-4591
 Project: Qpid
  Issue Type: New Feature
  Components: C++ Broker
Affects Versions: 0.18
Reporter: Ernest Allen
 Fix For: Future


 A way to determine when a ring queue is full and old messages are being 
 deleted. Also need a way to determine when the ring queue is no longer full.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org