[mod_cluster-issues] [JBoss JIRA] (MODCLUSTER-336) configurable STATUS interval
Aaron Ogburn (JIRA)
jira-events at lists.jboss.org
Tue May 14 11:01:07 EDT 2013
[ https://issues.jboss.org/browse/MODCLUSTER-336?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Aaron Ogburn updated MODCLUSTER-336:
------------------------------------
Description:
The frequency of STATUS MCMPs is the backgroundProcessorDelay of the engine of the web system and there is no way to change it currently.
While there is not a way to change that backgroundProcessorDelay, can we add a configurable delay within mod_cluster instead? Maybe something like this wrapping the web engine background processor's calls into mod_cluster:
{code:java}
if (currentTime > lastStatus + delay) {
// handle STATUS
lastStatus = currentTime
} else
// do nothing
{code}
Thus the frequency of the background processor calls isn't changed as expected, but the frequency with which it can actually result in a STATUS MCMP through mod_cluster is.
was:
The frequency of STATUS MCMPs is the backgroundProcessorDelay of the engine of the web system and there is no way to change it currently.
While there is not a way to change that backgroundProcessorDelay, can we add a configurable delay within mod_cluster instead? Maybe something like this wrapping the web engine background processor's calls into mod_cluster:
if (currentTime > lastStatus + delay) {
// handle STATUS
lastStatus = currentTime
} else
// do nothing
Thus the frequency of the background processor calls isn't changed as expected, but the frequency with which it can actually result in a STATUS MCMP through mod_cluster is.
> configurable STATUS interval
> ----------------------------
>
> Key: MODCLUSTER-336
> URL: https://issues.jboss.org/browse/MODCLUSTER-336
> Project: mod_cluster
> Issue Type: Enhancement
> Affects Versions: 1.2.4.Final
> Reporter: Aaron Ogburn
> Assignee: Jean-Frederic Clere
>
> The frequency of STATUS MCMPs is the backgroundProcessorDelay of the engine of the web system and there is no way to change it currently.
> While there is not a way to change that backgroundProcessorDelay, can we add a configurable delay within mod_cluster instead? Maybe something like this wrapping the web engine background processor's calls into mod_cluster:
> {code:java}
> if (currentTime > lastStatus + delay) {
> // handle STATUS
> lastStatus = currentTime
> } else
> // do nothing
> {code}
> Thus the frequency of the background processor calls isn't changed as expected, but the frequency with which it can actually result in a STATUS MCMP through mod_cluster is.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the mod_cluster-issues
mailing list