ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Current q depth in esql

Post new topic  Reply to topic Goto page Previous  1, 2, 3  Next
 Current q depth in esql « View previous topic :: View next topic » 
Author Message
PeterPotkay
PostPosted: Wed Feb 12, 2014 9:56 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7723

There is no dependency on the cluster refreshing for this change.
There is no such thing as a cluster refresh anyway. No, issuing the CLUSTER REFRESH comand does not refresh the cluster.

If you make a change to a clustered object that is relevent to the cluster, the change is immedietly sent to the Full Repositories, which then immedietly notify all interested Partial Repositories.

sebastia, I know you don't want to hear this, but I think you're heading down a path where things will work fine most of the time. But your setting yourself up for problems.

What happens if a big burst of messages come in and all the clustered instances of the queue back up as designed? Are you going to drop the priority of all of them?

If one gets just a tiny bit deeper than the other, you drop its priority, so more messages go to the other one, so those start rising faster, so you drop those meanwhile the first one emptied so you raise it so its priority and now its depth rises while the others drop etc etc etc.

If you implement this idea across a lot of queues in a big cluster, the cluster is going to be busy fiddling with your settings constantly. To the point where your overall performance degrades.

If you do this for one set of queues only, and you set the threshhold relatively high for the q depth before you take action, and the liklihood that the queue depth going above 1 during normally processing is almost zero, then maybe I would be OK with it. But now you have established a pattern that works, and if you start copying it everywhere it might get applied in the wrong scenarios.

If you were to do this, don't use WMB! The queue is presumably backing up because the message flow can't consume the messages for some reason - why do you assume a flow will still be able to check the q depth in this situation? Use a proper monitoring tool.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Feb 12, 2014 2:58 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20768
Location: LI,NY

with Peter. This is not a scenario for the broker, but a scenario for a monitoring tool. It can regulate better.
Now if your aim is to favor online vs batch, you should have an overlapping cluster each cluster having a different QOS, and sending its messages across with a different priority.

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
sebastia
PostPosted: Wed Feb 12, 2014 11:54 pm    Post subject: Reply with quote

Grand Master

Joined: 07 Oct 2004
Posts: 1003

Thanks a lot, coleagues, for sharing your opinions.
Let me say my opinion too.

*) monitoring tool - I dont think one overall monitoring / "flow control" application is possible. And a "centralized" solution is not appropiate in my opinion. I think each consumer (MB flow) has to indicate its own sources its desire to receive less traffic. So, the flow control is distributed. I like that (a lot).

*) if customer's architecture has no problems, I am happy, and queue priority stays stable. If a flow has design problems, some other people will have to fix it.

*) in order to the cluster parameters not to change too often, the "queue depth monitoring flow" shall get control ... once every 10 seconds only.

*) if all queues get overloaded, all priorities shall go low and cluster algorithm shall choose the one most apropiate in this environment.

*) I am not setting myself up for problems, jajaja. I work as solutions provider, and my customer has asked me what shall we do in such and such situation. And cluster "static" configuration is maybe not enough for a techie customer, so ... I have to provide a dynamic solution.

*) putting more cluster receiver channels is also a "static" configuration, from my point of view.

*) if refresh period is in the "minutes" range, then I shall forget about modifying CLWLPRTY. But we know that if "PUT(DISABLED)" is set for a queue, this setting propagates almost instantly, so I shall run some testing.

Again, thanks for sharing your thoughts. Sebastian.
Back to top
View user's profile Send private message Visit poster's website
Gralgrathor
PostPosted: Thu Feb 13, 2014 3:08 am    Post subject: Reply with quote

Master

Joined: 23 Jul 2009
Posts: 297

sebastia wrote:
I like that


A complex system of independently acting agents - it's certainly a grateful subject for studies in Chaos Theory
Back to top
View user's profile Send private message Send e-mail
sebastia
PostPosted: Thu Feb 13, 2014 3:39 am    Post subject: Reply with quote

Grand Master

Joined: 07 Oct 2004
Posts: 1003

Hey !

What I am sure of ... is that it is not possible to have a single central site having all the info and calculating some kind of flow control parameters and then distributing them across the cluster.

Small independent bodies managing their own resources looks good to me (I am in Catalonia, of course, jejeje)
Back to top
View user's profile Send private message Visit poster's website
PeterPotkay
PostPosted: Thu Feb 13, 2014 5:01 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7723

sebastia wrote:
Hey !

What I am sure of ... is that it is not possible to have a single central site having all the info and calculating some kind of flow control parameters and then distributing them across the cluster.

Robust enterprise level MQ monitoring solutions can do this easily, from a central location. And can have different criteria for different queues applied easily to one template that's applied consistently.

I'm glad you are considering how often you will check and that it won't constantly. That proposed 10 second interval shows you have considered this.

As long as you are aware of the risk that using WMB to monitor a queue serviced by WMB exposes you to the potential of not being being able to have WMB tell you WMB has an issue
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Feb 13, 2014 6:30 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

sebastia wrote:
it is not possible to have a single central site having all the info and calculating some kind of flow control parameters and then distributing them across the cluster.


Yes it is. Look at most of not all of the commerical monitoring solutions.

sebastia wrote:
Small independent bodies managing their own resources looks good to me (I am in Catalonia, of course, jejeje)


And thus I accept the view on independance. But this is MQ not the EU and centralized, organized control with a holistic view of the estate actually works well & should not be compaired with any organizations based in Madrid or Brussels.

Again I repeat - your site, your (independant) choice. You asked for opinions, you've got them, implement your chosen solution having considered these opinions and go forth in peace and happiness with it.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
sebastia
PostPosted: Thu Feb 13, 2014 7:48 am    Post subject: Reply with quote

Grand Master

Joined: 07 Oct 2004
Posts: 1003

*) yes, I am aware of the chance that a overloaded flow will not be able to monitor the queue, so the flow control wont be acting.
Thanks for the clue.

*) commercial monitoring solutions ... have their own weaknesses, never forget that

*) central and organized control ... is not always possible in a complex multi-app envir

Thanks for your allowance for my independence - I shall recommend my client to go by this path - descentralized and local flow control

Great discussion, thanks. Now all I need id the CLWLPRTY change to propagate as fast as PUT(DISABLED), jejeje.

I am asking Hursley on that item.
Will keep us updated. Tx a lot. Sebastian.
Back to top
View user's profile Send private message Visit poster's website
Vitor
PostPosted: Thu Feb 13, 2014 8:09 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

sebastia wrote:
*) commercial monitoring solutions ... have their own weaknesses, never forget that


And vendors that fix them. Tivoli is quite robust.

sebastia wrote:
*) central and organized control ... is not always possible in a complex multi-app envir


That's the use case for which most of these tools are sold!

sebastia wrote:
Thanks for your allowance for my independence


Independance in your right and not my gift
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
sebastia
PostPosted: Fri Feb 14, 2014 12:36 am    Post subject: Reply with quote

Grand Master

Joined: 07 Oct 2004
Posts: 1003

Hi, Vitor. Let me ask you a question.

If you were the owner of a company, medium size lets say, using MQ ... would you buy Tivoli to monitor it ?

I worked on flow control on a previous job (own network, own protocols, own op sys, own hw) with excelent experts. And I learned not to try to centralize the logic of the overall computing.

Thanks for your democratic attitude. ()
Back to top
View user's profile Send private message Visit poster's website
Gralgrathor
PostPosted: Fri Feb 14, 2014 12:39 am    Post subject: Reply with quote

Master

Joined: 23 Jul 2009
Posts: 297

Vitor wrote:
Independance in your right and not my gift


Nonsense. Rights are gifts by those with the power or disinterest to grant them. There's no such thing as an 'inherent' or 'inalienable right'. There's always a sysadmin with his finger hovering over the enter key somewhere.
Back to top
View user's profile Send private message Send e-mail
sebastia
PostPosted: Fri Feb 14, 2014 12:44 am    Post subject: Reply with quote

Grand Master

Joined: 07 Oct 2004
Posts: 1003

not in my network
not in my project

()
Back to top
View user's profile Send private message Visit poster's website
zpat
PostPosted: Fri Feb 14, 2014 1:05 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5867
Location: UK

Vitor wrote:
Independance in your right and not my gift


Anyone living in the USA who can't spell independence properly should be put on a special rendition flight to camp X-ray!
_________________
Well, I don't think there is any question about it. It can only be attributable to human error. This sort of thing has cropped up before, and it has always been due to human error.
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Feb 14, 2014 5:23 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

zpat wrote:
Vitor wrote:
Independance in your right and not my gift


Anyone living in the USA who can't spell independence properly should be put on a special rendition flight to camp X-ray!


Don't trample my First Amendment Rights. It's not my fault you didn't understnad my subtile protest against the American language.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Feb 14, 2014 5:28 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Gralgrathor wrote:
There's always a sysadmin with his finger hovering over the enter key somewhere.


Only if enjoys spending many hours in a root cause analysis meeting with me and 3 levels of his immediate management & the SVP of every business area affected

Or doesn't mind if his finger gets broken in a freak accident.

Or don't mind if I explain change control processes and areas of responsibility over, and over, and over again.

Usually their fingers break.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2, 3  Next Page 2 of 3

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Current q depth in esql
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.