You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Gaurav Sharma (JIRA)" <ji...@apache.org> on 2012/04/25 02:56:06 UTC

[jira] [Created] (TOMEE-165) Stateful bean capacity config should have a more manageable default

Gaurav Sharma created TOMEE-165:
-----------------------------------

             Summary: Stateful bean capacity config should have a more manageable default
                 Key: TOMEE-165
                 URL: https://issues.apache.org/jira/browse/TOMEE-165
             Project: TomEE
          Issue Type: Improvement
    Affects Versions: 1.0.0-beta-2
            Reporter: Gaurav Sharma
            Priority: Minor
             Fix For: 1.0.0


Currently, in tomee.xml, the stateful bean capacity is defaulted to 1000 which is usually a high number and can burn unsuspecting users. One suggestion is to cap it ~10.

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

        

[jira] [Commented] (TOMEE-165) Stateful bean capacity config should have a more manageable default

Posted by "Romain Manni-Bucau (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TOMEE-165?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13262080#comment-13262080 ] 

Romain Manni-Bucau commented on TOMEE-165:
------------------------------------------

Hi,

IMHO 10 is not enough, we should follow at the minimum the request pool i guess (200 by default). Finally 1000 was maybe not so bad.

Romain
                
> Stateful bean capacity config should have a more manageable default
> -------------------------------------------------------------------
>
>                 Key: TOMEE-165
>                 URL: https://issues.apache.org/jira/browse/TOMEE-165
>             Project: TomEE
>          Issue Type: Improvement
>    Affects Versions: 1.0.0-beta-2
>            Reporter: Gaurav Sharma
>            Priority: Minor
>             Fix For: 1.0.0
>
>         Attachments: tomee-165.patch
>
>
> Currently, in tomee.xml, the stateful bean capacity is defaulted to 1000 which is usually a high number and can burn unsuspecting users. One suggestion is to cap it ~10.

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

        

[jira] [Closed] (TOMEE-165) Stateful bean capacity config should have a more manageable default

Posted by "David Blevins (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TOMEE-165?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Blevins closed TOMEE-165.
-------------------------------

    Resolution: Fixed
    
> Stateful bean capacity config should have a more manageable default
> -------------------------------------------------------------------
>
>                 Key: TOMEE-165
>                 URL: https://issues.apache.org/jira/browse/TOMEE-165
>             Project: TomEE
>          Issue Type: Improvement
>    Affects Versions: 1.0.0-beta-2
>            Reporter: Gaurav Sharma
>            Priority: Minor
>             Fix For: 1.0.0
>
>         Attachments: tomee-165.patch
>
>
> Currently, in tomee.xml, the stateful bean capacity is defaulted to 1000 which is usually a high number and can burn unsuspecting users. One suggestion is to cap it ~10.

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

        

[jira] [Commented] (TOMEE-165) Stateful bean capacity config should have a more manageable default

Posted by "Romain Manni-Bucau (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TOMEE-165?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13262097#comment-13262097 ] 

Romain Manni-Bucau commented on TOMEE-165:
------------------------------------------

we can definitely discuss about it.

here my thought:

a stateful can be used across several requests so if the tomee is used at its maximum (200 users) it means 200 statefuls at the same moment and potentially multiple flows.

That's why 1000 seems fine for me.



                
> Stateful bean capacity config should have a more manageable default
> -------------------------------------------------------------------
>
>                 Key: TOMEE-165
>                 URL: https://issues.apache.org/jira/browse/TOMEE-165
>             Project: TomEE
>          Issue Type: Improvement
>    Affects Versions: 1.0.0-beta-2
>            Reporter: Gaurav Sharma
>            Priority: Minor
>             Fix For: 1.0.0
>
>         Attachments: tomee-165.patch
>
>
> Currently, in tomee.xml, the stateful bean capacity is defaulted to 1000 which is usually a high number and can burn unsuspecting users. One suggestion is to cap it ~10.

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

        

[jira] [Commented] (TOMEE-165) Stateful bean capacity config should have a more manageable default

Posted by "Gaurav Sharma (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TOMEE-165?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13262090#comment-13262090 ] 

Gaurav Sharma commented on TOMEE-165:
-------------------------------------

Since y'all have more experience with how users are using it, I will defer to you for defaults. I think it might be better to ship with a sensible default. Users can up it if needed. I made it 10 based off of David's suggestion yesterday of 4 or 10 but open to changing. 1000 is definitely quite high imho.
                
> Stateful bean capacity config should have a more manageable default
> -------------------------------------------------------------------
>
>                 Key: TOMEE-165
>                 URL: https://issues.apache.org/jira/browse/TOMEE-165
>             Project: TomEE
>          Issue Type: Improvement
>    Affects Versions: 1.0.0-beta-2
>            Reporter: Gaurav Sharma
>            Priority: Minor
>             Fix For: 1.0.0
>
>         Attachments: tomee-165.patch
>
>
> Currently, in tomee.xml, the stateful bean capacity is defaulted to 1000 which is usually a high number and can burn unsuspecting users. One suggestion is to cap it ~10.

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

        

[jira] [Updated] (TOMEE-165) Stateful bean capacity config should have a more manageable default

Posted by "Gaurav Sharma (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TOMEE-165?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gaurav Sharma updated TOMEE-165:
--------------------------------

    Attachment: tomee-165.patch
    
> Stateful bean capacity config should have a more manageable default
> -------------------------------------------------------------------
>
>                 Key: TOMEE-165
>                 URL: https://issues.apache.org/jira/browse/TOMEE-165
>             Project: TomEE
>          Issue Type: Improvement
>    Affects Versions: 1.0.0-beta-2
>            Reporter: Gaurav Sharma
>            Priority: Minor
>             Fix For: 1.0.0
>
>         Attachments: tomee-165.patch
>
>
> Currently, in tomee.xml, the stateful bean capacity is defaulted to 1000 which is usually a high number and can burn unsuspecting users. One suggestion is to cap it ~10.

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

        

[jira] [Commented] (TOMEE-165) Stateful bean capacity config should have a more manageable default

Posted by "Gaurav Sharma (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TOMEE-165?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13262077#comment-13262077 ] 

Gaurav Sharma commented on TOMEE-165:
-------------------------------------

Attached a patch, ran all core tests (green):
Tests run: 3490, Failures: 0, Errors: 0, Skipped: 0
                
> Stateful bean capacity config should have a more manageable default
> -------------------------------------------------------------------
>
>                 Key: TOMEE-165
>                 URL: https://issues.apache.org/jira/browse/TOMEE-165
>             Project: TomEE
>          Issue Type: Improvement
>    Affects Versions: 1.0.0-beta-2
>            Reporter: Gaurav Sharma
>            Priority: Minor
>             Fix For: 1.0.0
>
>         Attachments: tomee-165.patch
>
>
> Currently, in tomee.xml, the stateful bean capacity is defaulted to 1000 which is usually a high number and can burn unsuspecting users. One suggestion is to cap it ~10.

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