简体   繁体   中英

How get greatest get throughput from MQ Queue

I am developing a java application to read data from remote IBM MQ queue and process data.

My queue receiving data with about 700-1200 TPS from MainFrame env.

I have 2 questions.

  1. There are 3 method to get data

     a) MQ Java library b) JNDI c) JMS 

    Which method is the fastest in reading data?

  2. How can I increase performance of reading the queue?

    a) Read single queue with multi thread get routines
    b) Distribute data to multiple queue and read them in parallel

    Generally: how can I improve the speed of reading data from queue?

Thanks for your advise.

JNDI does not provide any method to get messages from MQ queue/topic. JNDI is used for retrieving Connection and Destination configuration information from repository like LDAP or J2EE server.

Apart from Java/JMS, MQ provides APIs in C/COBOL and other languages. Based on your skills, you can choose any of the languages to develop your application.

I think it's good to start with performance reports published here . These reports talk about MQ performance under different scenarios and also talk about application architecture and configuration used.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM