Use TIES JMS Services

Learn how to configure TIES JMS services for supporting multiple coder servers

You can use additional computing resources to speed up the time it takes for your reports to be processed. A typical single server installation of TIES, can only process about 8000-10000 reports per day.

If you want to add more coders to the mix, you can do that by switching over to the TIES JMS services. TIES uses Java Messaging Queues to facilitate this. JMS Producer services add reports to be processed to the queue from where the coders pick them up, and after processing, return them to the processed queues. The JMS Consumer picks up from there and saves the processed reports to the database.

You can add as many coders as you like, as long as the producers and consumers can keep up. We have certain sites coding 150,000 reports a day using 16 coders.


JMS Coder Producer: Reads reports in CODING status from ties_public database and adds them to the CODING_QUEUE
JMS TiesPipeController: Reads reports from the CODING_QUEUE, processes, sets status of report to INDEXING and saves results to CODING_PROCESSED_QUEUE
JMS Coder Consumer: Reads reports from the CODING_PROCESSED queue and saves results to the database

JMS Indexer Producer:
 Reads reports in INDEXING status from ties_public database and adds them to the INDEXING_QUEUE
JMS IndexPipeController: Reads reports from the INDEXING_QUEUE, adds them to the index and saves report with IDLING status back to the INDEXING_PROCESSED_QUEUE.
JMS Indexer Consumer: Reads reports from the INDEXING_PROCESSED queue, Saves report back to database.

Setup Instructions

  1. Download and install ActiveMQ ( TIES has been tested with ActiveMQ v5.9.
  2. Add the Statistics Broker Plugin to the ActiveMQ configuration. See instructions here: ActiveMQ Statistics Plugin
  3. You may optionally make performance related adjustments to the configuration. Here is a sample configuration for ActiveMQ v5.9 that we use to process millions of reports. Do not use this file unless you know how ActiveMQ parameters work. Sample ActiveMQ 5.9 config
  4. Run the TIES Installer. One the first screen, there is a JMS Server URL text box. Enter tcp://localhost:61616. That is the default for ActiveMQ. (unless u changed it during install)
  5. On the next screen, select “Install Pipelines Only” option.
  6. On the following screen select the three JMS options (JMS Ties Pipe Controller, JMS Index Pipe Controller, JMS Database Bridge Services)
  7. On the next screen , begin installation.
  8. After installation completes, you will notice several new windows services, all starting with “TIES JMS…”
  9. You should stop your TiesPipeController and IndexPipeController services and disable them, as you are switching over to their JMS counterparts.
  10. Next start the JMS Producers and JMS Consumers Services. There will be one each for the coder and indexer
  11. To check your queues http://localhost:8161/admin/queues.jsp, you should start seeing the CODING and INDEXING queues filling up.
  12. Next we specify the number of cores to use for the coder. Edit the JMSTiesPipeController/classes/config/ file and near the bottom, you should see a caties.coder.processes parameter. Set it to a reasonable value that accounts for anything else running on this server.
  13. No modifications are required for the JMS IndexPipeController, as it can only run on one core. Start its service as well.
  14. Monitor the queues again (Step 9) you should start to see the PROCESSED queues filling up.
  15. If you start to notice the CPU usage being constantly over 90% for all cores, you might need to scale back the number of coder processes.


TIES Coder prints 'work completed' in the logs but there are several reports still waiting to be processed in the database
  1. Make sure you are using the JMSTiesPipeController and not the TiesPipeController.
  2. Check the ActiveMQ JMS queues to see if there are reports in the CODING_QUEUE. You can check queues status at http://<youractivemqserverhostname>:8161/admin/queues.jsp
  3. If there are no reports in the CODING_QUEUE, check to see if the JMS Coder Producer and JMS Coder Consumer services are running and they have no errors in the logs.
  4. If there are reports in the CODING_QUEUE, check that the JMSTiesPIpeController configuration points to the correct location for the ActiveMQ server.The configuration file is located at JMSTiesPipeController/classes/conf/
  5. Make sure that there are no errors in the log files found in JMSTiesPipeController.logs.

5 day juice fast weight loss keto diet percentage chart sauna or steam room for weight loss exercise apps for weight loss diet and weight loss 30 10 weight loss tacoma john goodmans weight loss phases of weight loss simple weight loss smoothies med for weight loss ingredients in phentermine diet pills victoria beckham diet pills magic slim weight loss pills diet pills boost metabolism dr oz approved weight loss pills lab band weight loss expanding diet pills how many carbohydrates can i eat and still lose weight diet energy pills that work does nv weight loss pill work weight loss keto diet foods what is the best weight loss prescription pill why does drinking water make you lose weight best laxative to lose weight fast

cannabis oil for sleep authorize net cbd oil cbd oil honey sticks does use of cbd oil effect gun ownership 99 thc oil can cbd oil raise blood pressure organic cannabidiol cvs cbd oil news is cannabis oil legal in maryland cbd oil mayo clinic pain will using cbd oil test positive for thc cbd oil mountain home ar buy cbd oil in newnan ga howmich 300mg cbd oil to rake cbd oil caplets de los jupes valley cbd oil can you put cbd oil in icare2 real cbd oil gnc best full spectrum organic cbd oil top 10 hemp oil for scalp psoriasis cbd oil columbus ohio campus cbd oil from flowers cbd oil shop new orleans white label cbd oil order

cialis sale how do you increase your testosterone stiff nights pills side effects male enhancement pills prescription does d aspartic acid increase testosterone testosterone and nitric oxide booster metro sexsual meaning hard penis sperm pills z vital male enhancement reviews sex enhancement indian how to increase sexual performance in man natural male enlargement foods raise your testosterone levels supplements pills to make your penis fx 7000 male sexual enhancement pill viagra generic usa number 1 top selling male enhancement pill testosterone pills to enhance best sex male enhancement prostate toy 100 free penis enlargement testosterone pills at rite aid testosterone steroids pills can i take creatine pills with testosterone ftm boost ultimate pills review