[richfaces-issues] [JBoss JIRA] (RF-12219) Push: Test that messages do not become stale in a queue

Juraj Huska (JIRA) jira-events at lists.jboss.org
Wed May 30 11:17:18 EDT 2012


    [ https://issues.jboss.org/browse/RF-12219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12697227#comment-12697227 ] 

Juraj Huska commented on RF-12219:
----------------------------------

I have run the test whole night with MAX_INACTIVE_INTERVAL of [SessionImpl|https://github.com/richfaces/core/blob/develop/impl/src/main/java/org/richfaces/application/push/impl/SessionImpl.java#L58] set to 2 minutes.

My results:
- the peak number of MessageData objects was about 8000 objects after the whole night run.
- it means that the number does not rise anymore because of some of the sessions expire due to timeout.

Lukas, could you please bring you insight into this results and previous comments ? Thanks.
                
> Push: Test that messages do not become stale in a queue
> -------------------------------------------------------
>
>                 Key: RF-12219
>                 URL: https://issues.jboss.org/browse/RF-12219
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-push/poll
>    Affects Versions: 4.2.1.Final
>            Reporter: Lukáš Fryč
>            Assignee: Juraj Huska
>            Priority: Critical
>             Fix For: 4.3.0.Milestone1
>
>
> According to the [Forum reference],
> we can have problems with stale messages.
> I would suggest to write tests for following scenarios and check that queue is destroyed properly:
> * view expires
> * client leaves the page with {{a4j:push}} without proper clean up
> * ...
> Let's brainstorm other scenarios.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the richfaces-issues mailing list