web stats
Disabling seconds as polling frequency for DB reader - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 09-14-2018, 12:09 AM
siddharth siddharth is offline
Mirth Guru
 
Join Date: Feb 2013
Posts: 808
siddharth is on a distinguished road
Default Disabling seconds as polling frequency for DB reader

This is a rant. I have observed a rather stupid phenomenon with various different engineers, who think that reducing the DB polling to seconds will make their channel run almost instantaneously. In some weird cases, I have even seen 3 seconds polling time on a DB reader. Then they come and complain that "dude, I am not getting data", and you have to explain again and again without being salty that 3 seconds is very very less to get the data out. They just don't get the behind the scene costs. But I guess that's just human tendency.

I don't see any good practical purpose, of running DB reader every few seconds. If there exist one, please enlighten me.

So, I think there is a scope of either disabling seconds as a polling frequency option for DB reader, or at least add a hazardous warning dialog, that "you would kill the DB someday". I can submit a feature request.
__________________
HL7v2.7 Certified Control Specialist!

Last edited by siddharth; 09-14-2018 at 02:39 AM.
Reply With Quote
  #2  
Old 09-14-2018, 05:54 AM
BCMirthUser BCMirthUser is offline
OBX.2 Kenobi
 
Join Date: May 2015
Posts: 93
BCMirthUser is on a distinguished road
Default

Having experienced this once my first thought comes to the medical billing world. Unfortunately, in order to keep 2 separate systems in sync, you would need an extremely low polling time so people are not waiting at the desk to check out. It definitely has its drawbacks but a good check and balance design can intervene quite well.

And in my experience, this has literally been the only place where having almost instant polling times is necessary.
Reply With Quote
  #3  
Old 09-14-2018, 09:34 AM
agermano agermano is offline
Mirth Guru
 
Join Date: Apr 2017
Location: Indiana, USA
Posts: 435
agermano is on a distinguished road
Default

Pretty much anything where a person would be sitting around waiting for something to update. Although, in those cases it would probably be preferable to have a real-time push mechanism rather than very frequent polling if possible.
Reply With Quote
  #4  
Old 09-14-2018, 11:21 AM
siddharth siddharth is offline
Mirth Guru
 
Join Date: Feb 2013
Posts: 808
siddharth is on a distinguished road
Default

yeah that's what I have been told, that this is registration data and we need it as soon as possible a patient is registered.

My counter argument is that although its not impossible, but filling registration information or any other screen under 10 seconds or less is unlikely to happen. If something is polling every 3 seconds, which is 20 cycles per minute, it would return blank 80 percent of the time and it doesn't make sense.

I have always been in favor of using webhooks or the forward notification approach, where the system tells mirth that "an event has happened, now do your thing!" so mirth acts on a notification, but I was only able to implement it in 3 projects, rest all others believe in DB reads. so the adoption is less.
__________________
HL7v2.7 Certified Control Specialist!
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 12:14 AM.


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