web stats
File Writer slow to write first Message/Can it be poked? - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 05-01-2019, 07:43 AM
ace ace is offline
Mirth Newb
 
Join Date: May 2016
Location: Austin, TX, USA
Posts: 9
ace is on a distinguished road
Default File Writer slow to write first Message/Can it be poked?

I have a 2-channel system, where the first channel reads data from a DB, formats it, and sends the formatted data to a 2nd channel. This second channel has 2 File Writer destinations. The first destination just writes the Header Row for the output. The second destination writes out each message from the source after validation and formatting.

The 2nd channel waits what seems to me like a very long time to write out the header and first message. This morning, for example, the 1st channel produced about 15,000 of 200,000+ messages, and ran for 9 minutes, before the 2nd channel wrote out its first record. Mirth Administrator shows the first of these early 15K mesages as "SENT" by the File Writer destinations in the 2nd channel within a second of being produced in the 1st channel, but the output file did not appear for 9 minutes, and the statistics on the Dashboard did not start counting up for the 2nd channel, until after the 9 minutes it took the file to appear.

QUESTION: Is there a way to prod the 2nd channel, the one that writes out to the file, into commencing to write immediately when it receives a message from the first channel?

For longer batches, like the 200K+ batch today, a 9 minute wait added to 4 hours of processing is not terrible, but I have this same sort of delay when there are under 10 messages to process. In that case where the whole run should take about 5 seconds, it takes minutes for the file to appear and for the statistics to be acknowledged in the Dashboard.

We are running Mirth v.3.4.2.8129 on CentOS Linux.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 05:15 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Mirth Corporation