Polling interval

17 views
Skip to first unread message

Ajeeth

unread,
Sep 15, 2014, 10:50:43 AM9/15/14
to nginn-me...@googlegroups.com
On profiling the database, I could see many continuous hits of SQL (Selects) in the Queue table. Is this generally fine or okay? . Is there a way to control the polling duration of NGinn handlers in config files.

Thanks,
Ajeeth

Rafal Gwizdala

unread,
Sep 15, 2014, 11:40:20 AM9/15/14
to nginn-me...@googlegroups.com
Yes, each receiver thread polls the queue every 10 seconds on average (which isn't very frequent). Apart from that, all queries will hit an index so it's very cheap regarding CPU and I/O cost.
Best regards
RG

--
You received this message because you are subscribed to the Google Groups "nginn-messagebus" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nginn-messageb...@googlegroups.com.
To post to this group, send email to nginn-me...@googlegroups.com.
Visit this group at http://groups.google.com/group/nginn-messagebus.

Rafal Gwizdala

unread,
Sep 15, 2014, 1:39:48 PM9/15/14
to nginn-me...@googlegroups.com
BTW currently there's no way to set the polling frequency via config API, but if you'd like to change it for some reason I can add a property for this. 
Reply all
Reply to author
Forward
0 new messages