web stats
Mirth Community - View Single Post - Question re DB Reader Channel Parallelization
View Single Post
  #2  
Old 06-06-2016, 07:56 AM
narupley's Avatar
narupley narupley is offline
Mirth Employee
 
Join Date: Oct 2010
Posts: 7,124
narupley is on a distinguished road
Default

Yes, it is absolutely true that you need to be careful with shared memory (global map, global channel map) when using multiple processing threads.

Polling connectors like the Database Reader will still basically poll messages in serial, however you can still increase throughput by turning on the source queue. That way you'll have X source queue threads consuming messages, where X is your max processing threads.
__________________
Step 1: JAVA CACHE...DID YOU CLEAR ...wait, ding dong the witch is dead?

Nicholas Rupley
Work: 949-237-6069
Always include what Mirth Connect version you're working with. Also include (if applicable) the code you're using and full stacktraces for errors (use CODE tags). Posting your entire channel is helpful as well; make sure to scrub any PHI/passwords first.


- How do I foo?
- You just bar.
Reply With Quote