Вы находитесь на странице: 1из 18

TxMQ,

 Inc.  Introduces:    
MQ  Capacity  Planner™  
Presented  by:  Allan  Bartleywood  
Senior  Execu8ve  Consultant  

©2014  TxMQ,  Inc.,  1430B  Millersport  Highway,  Amherst,  NY  14221  |  716-­‐636-­‐0070  |  www.txmq.com  
What  is  IBM  MQ?  
•  The  Industry  Standard  Applica8on  Messaging-­‐oriented  Middleware  
•  For  how  long  ?  
–  MQM  MVS/ESA  V1.1  -­‐    1993  
–  MQSeries  V2.x  –  1995  
–  WebSphere  MQ  V5.3  –  2002  
–  Latest  V8.0  -­‐  2014  
•  Pla]orms  Supported  
–  AIX,  HP,  IBM  I,  Linux,  4690,  Solaris,  Windows,  z/OS  
–  Both  Client  and  Server  
•  MQ  APIs  
–  IBM  Message  Queue  Interface  (MQI)  for  C,  Java,  Cobol,  PL/1,  RPG  and  C++  
–  Java  Message  Service  (JMS)  
–  XMS  for  C/C++  and  .NET  
–  Not  Officially  supported  
•  Perl,  Python,  Windows  PowerShell  
 

©2014  TxMQ,  Inc.,  1430B  Millersport  Highway,  Amherst,  NY  14221  |  716-­‐636-­‐0070  |  www.txmq.com  
How  Does  MQ  Work?  

©2014  TxMQ,  Inc.,  1430B  Millersport  Highway,  Amherst,  NY  14221  |  716-­‐636-­‐0070  |  www.txmq.com  
Flexible  Architecture  
•  MQ  Server  Based  
–  Any  to  Any  
–  Hub  and  Spoke  
–  Zoned  Hub  and  Spoke  
•  Enterprise  Shared  MQ  Service  
–  Centralized  MQ  Service  
–  Applica8ons  are  Clients    
–  Physical  deployment  
•  Hub  and  Spoke      
•  May  include  Zoning  

©2014  TxMQ,  Inc.,  1430B  Millersport  Highway,  Amherst,  NY  14221  |  716-­‐636-­‐0070  |  www.txmq.com  
Big  QuesBons  
•  What  is  the  capacity  of  a  Queue  Manager?  
•  Capacity  of  the  MQ  environment  
•  Segments  of  the  MQ  environment  

How  do  we  measure  MQ  Capacity?  


 

©2014  TxMQ,  Inc.,  1430B  Millersport  Highway,  Amherst,  NY  14221  |  716-­‐636-­‐0070  |  www.txmq.com  
Basic  Hub  &  Spoke  Example  

©2014  TxMQ,  Inc.,  1430B  Millersport  Highway,  Amherst,  NY  14221  |  716-­‐636-­‐0070  |  www.txmq.com  
©2014  TxMQ,  Inc.,  1430B  Millersport  Highway,  Amherst,  NY  14221  |  716-­‐636-­‐0070  |  www.txmq.com  
How  Does  MQCP™  Do  This?  
•  By  using  a  process  
–  Repeatable  
–  Measurable  
–  Quan8fiable  
•  Measures  Queue  Manager  responses  vs.  
system  u8liza8on  

©2014  TxMQ,  Inc.,  1430B  Millersport  Highway,  Amherst,  NY  14221  |  716-­‐636-­‐0070  |  www.txmq.com  
What  makes  MQCP™  Unique?  
•  Configurable  process  
–  Mul8-­‐threaded  
–  Produces  1000  messages  per  thread  
–  Puts  
–  Gets  
–  Puts  &  Gets    
•  Capture  system  u8liza8on  
•  Produce  charts  

©2014  TxMQ,  Inc.,  1430B  Millersport  Highway,  Amherst,  NY  14221  |  716-­‐636-­‐0070  |  www.txmq.com  
Sample  Environment  
•  Linux  Redhat  2.6  VM  
–  4  cores  (i7  2.8  Ghz  boos8ng  to  3.6  Ghz)  
–  4  GB  Memory  
–  Storage,  SSD  
•  MQ  Version  7.5  
–  Hub  and  Spoke  Queue  Managers  

©2014  TxMQ,  Inc.,  1430B  Millersport  Highway,  Amherst,  NY  14221  |  716-­‐636-­‐0070  |  www.txmq.com  
Thread  Response  Time  

©2014  TxMQ,  Inc.,  1430B  Millersport  Highway,  Amherst,  NY  14221  |  716-­‐636-­‐0070  |  www.txmq.com  
Message  Response  Time  

©2014  TxMQ,  Inc.,  1430B  Millersport  Highway,  Amherst,  NY  14221  |  716-­‐636-­‐0070  |  www.txmq.com  
CPU  UBlizaBon  

©2014  TxMQ,  Inc.,  1430B  Millersport  Highway,  Amherst,  NY  14221  |  716-­‐636-­‐0070  |  www.txmq.com  
TransacBon  Per  Second  
ApplicaBon  Persistent  Message  Puts  to  Queue  
TPS  /  No  of  Threads  /  Message  Size  
25000  

20000  
TransacBons  Per  Second  

15000  
1KB  Messages  

10KB  Messages  

20KB  Messages  
10000   30KB  Messages  

50KB  Messages  

75KB  Messages  

5000   100KB  Messages  

0  
10   20   30   40   50   60   70   80   90   100  
No  of  AcBve  Threads  

©2014  TxMQ,  Inc.,  1430B  Millersport  Highway,  Amherst,  NY  14221  |  716-­‐636-­‐0070  |  www.txmq.com  
10  
20  
30  
40  
50  
60  
70  
80  
90  

0  
100  
21:12  
21:12  
21:12  
21:12  
21:12  
21:12  
21:13  
21:13  
21:13  
21:13  
21:13  
21:13  
21:13  
21:13  
21:13  
21:13  
21:13  
21:13  
21:14  
21:14  
21:14  
21:14  
21:14  
21:14  
21:14  
21:14  
User%  

21:14  
21:14  
21:14  
Sys%  

21:14  
21:15  
21:15  
21:15  
Wait%  

21:15  
21:15  
21:15  
21:15  
CPU  Total  :  100  Threads  :  100Kb  Messages  

21:15  
21:15  
21:15  
21:15  
21:16  
CPU  UBlizaBon  

21:16  
21:16  
21:16  
21:16  
21:16  
©2014  TxMQ,  Inc.,  1430B  Millersport  Highway,  Amherst,  NY  14221  |  716-­‐636-­‐0070  |  www.txmq.com  

21:16  
21:16  
21:16  
21:16  
21:16  
21:16  
21:17  
21:17  
21:17  
21:17  
21:17  
What  is  MQ  Capacity  Measuring?  
 
 
MQ  Capacity  =>  sum(  Response  Time  =  MsgSize  
+  (latency  *  2)  *  demand  )  
 

©2014  TxMQ,  Inc.,  1430B  Millersport  Highway,  Amherst,  NY  14221  |  716-­‐636-­‐0070  |  www.txmq.com  
Summary  
•  Cost  management  
•  Understand  your  current  MQ  capacity  
•  Effec8veness  of  your  virtual  and  horizontal  
program  

©  2013  TxMQ,  Inc,  1430B  Millersport  Highway,  Amherst,  NY  14221  |  716-­‐636-­‐0070  |  www.txmq.com  
Contact  Us  
Contact  us  about  Scheduling  your  MQ  Capacity  
Planner  engagement.  
Miles  Roty:  Vice  President,  716-­‐636-­‐0070  (228),  
miles@txmq.com,  or  consul8ng@txmq.com.    
 
Be  one  of  our  early  customers  and  take  advantage  of  
special  pricing  op<ons!  
 
h?p://www.txmq.com/mqcp    

©  2013  TxMQ,  Inc,  1430B  Millersport  Highway,  Amherst,  NY  14221  |  716-­‐636-­‐0070  |  www.txmq.com  

Вам также может понравиться