You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Jerry Maine (JIRA)" <ji...@apache.org> on 2012/11/28 07:42:59 UTC

[jira] [Created] (OPENEJB-1958) Add compression to the ejbd protocol.

Jerry Maine created OPENEJB-1958:
------------------------------------

             Summary: Add compression to the ejbd protocol.
                 Key: OPENEJB-1958
                 URL: https://issues.apache.org/jira/browse/OPENEJB-1958
             Project: OpenEJB
          Issue Type: New Feature
            Reporter: Jerry Maine


Add compression to the ejbd protocol by using java.util.zip.GZIPInputStream/java.util.zip.GZIPOutputStream or similar functionality.

--
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

[jira] [Commented] (OPENEJB-1958) Add compression to the ejbd protocol.

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

Romain Manni-Bucau commented on OPENEJB-1958:
---------------------------------------------

just commited basic support of gzip
1) in conf/conf.d/ejbd.properties set the attriubte gzip to true (or set the system property ejbd.gzip) -- server config
2) instead of ejbd://IP:PORT use zejbd://IP:PORT to create you initial context -- client config

that works for openejb standalone/embedded

for tomee you'd need to set openejb.service.manager.class to org.apache.openejb.server.SimpleServiceManager and use step 1) and 2) (== starting ejbd as a server instead of reusing tomcat transport layer)

Note: in my little test gzip is slower than default (but my objects were pretty small)
                
> Add compression to the ejbd protocol.
> -------------------------------------
>
>                 Key: OPENEJB-1958
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-1958
>             Project: OpenEJB
>          Issue Type: New Feature
>            Reporter: Jerry Maine
>
> Add compression to the ejbd protocol by using java.util.zip.GZIPInputStream/java.util.zip.GZIPOutputStream or similar functionality.

--
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

[jira] [Commented] (OPENEJB-1958) Add compression to the ejbd protocol.

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

Romain Manni-Bucau commented on OPENEJB-1958:
---------------------------------------------

Hi,

would you like to create a patch?

we'd be happy to apply it for you
                
> Add compression to the ejbd protocol.
> -------------------------------------
>
>                 Key: OPENEJB-1958
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-1958
>             Project: OpenEJB
>          Issue Type: New Feature
>            Reporter: Jerry Maine
>
> Add compression to the ejbd protocol by using java.util.zip.GZIPInputStream/java.util.zip.GZIPOutputStream or similar functionality.

--
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