You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Rob Vesse (Created) (JIRA)" <ji...@apache.org> on 2012/02/07 02:42:59 UTC
[jira] [Created] (JENA-209) Add GZip compression support to Fuseki
Add GZip compression support to Fuseki
--------------------------------------
Key: JENA-209
URL: https://issues.apache.org/jira/browse/JENA-209
Project: Jena
Issue Type: New Feature
Components: Fuseki
Affects Versions: Fuseki 0.2.1
Reporter: Rob Vesse
Priority: Minor
Fix For: Fuseki 0.2.1
Attachments: FusekiGZipSupport.patch
The attached patch for Fuseki gives the user the ability to enable gzip compression either by using a --gzip option at the command line or by calling ARQ.set(Fuseki.FusekiEnableGZipCompression, true) from code
GZip compression is enabled by adding the GzipFilter to relevant servlets, this filter comes from the jetty-servlets package which is licensed under the same terms as the existing Jetty dependencies used so I assume licensing is not an issue. When enabled GZip compression only applies when the client sends an Accept-Encoding: gzip header and certain other conditions are met.
Currently this feature is disabled by default as most browsers will send this header and when both the client and server are on the local machine performance can actually be worsened. When the client and server are on different networks a significant speed up (2-5x times depending on result format) has been seen.
--
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] (JENA-209) Add GZip compression support to
Fuseki
Posted by "Andy Seaborne (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JENA-209?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13202535#comment-13202535 ]
Andy Seaborne commented on JENA-209:
------------------------------------
I think we should add this and have it on by default. It only operates if the client sets Accept-encoding.
> Add GZip compression support to Fuseki
> --------------------------------------
>
> Key: JENA-209
> URL: https://issues.apache.org/jira/browse/JENA-209
> Project: Jena
> Issue Type: New Feature
> Components: Fuseki
> Affects Versions: Fuseki 0.2.1
> Reporter: Rob Vesse
> Priority: Minor
> Labels: compression, fuseki, gzip
> Fix For: Fuseki 0.2.1
>
> Attachments: FusekiGZipSupport.patch
>
>
> The attached patch for Fuseki gives the user the ability to enable gzip compression either by using a --gzip option at the command line or by calling ARQ.set(Fuseki.FusekiEnableGZipCompression, true) from code
> GZip compression is enabled by adding the GzipFilter to relevant servlets, this filter comes from the jetty-servlets package which is licensed under the same terms as the existing Jetty dependencies used so I assume licensing is not an issue. When enabled GZip compression only applies when the client sends an Accept-Encoding: gzip header and certain other conditions are met.
> Currently this feature is disabled by default as most browsers will send this header and when both the client and server are on the local machine performance can actually be worsened. When the client and server are on different networks a significant speed up (2-5x times depending on result format) has been seen.
--
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] (JENA-209) Add GZip compression support to
Fuseki
Posted by "Paolo Castagna (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JENA-209?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13202131#comment-13202131 ]
Paolo Castagna commented on JENA-209:
-------------------------------------
Very useful contribution Rob, thanks. :-)
> Add GZip compression support to Fuseki
> --------------------------------------
>
> Key: JENA-209
> URL: https://issues.apache.org/jira/browse/JENA-209
> Project: Jena
> Issue Type: New Feature
> Components: Fuseki
> Affects Versions: Fuseki 0.2.1
> Reporter: Rob Vesse
> Priority: Minor
> Labels: compression, fuseki, gzip
> Fix For: Fuseki 0.2.1
>
> Attachments: FusekiGZipSupport.patch
>
>
> The attached patch for Fuseki gives the user the ability to enable gzip compression either by using a --gzip option at the command line or by calling ARQ.set(Fuseki.FusekiEnableGZipCompression, true) from code
> GZip compression is enabled by adding the GzipFilter to relevant servlets, this filter comes from the jetty-servlets package which is licensed under the same terms as the existing Jetty dependencies used so I assume licensing is not an issue. When enabled GZip compression only applies when the client sends an Accept-Encoding: gzip header and certain other conditions are met.
> Currently this feature is disabled by default as most browsers will send this header and when both the client and server are on the local machine performance can actually be worsened. When the client and server are on different networks a significant speed up (2-5x times depending on result format) has been seen.
--
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] (JENA-209) Add GZip compression support to Fuseki
Posted by "Rob Vesse (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JENA-209?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rob Vesse updated JENA-209:
---------------------------
Attachment: FusekiGZipSupport.patch
Patch for GZip support in Fuseki
> Add GZip compression support to Fuseki
> --------------------------------------
>
> Key: JENA-209
> URL: https://issues.apache.org/jira/browse/JENA-209
> Project: Jena
> Issue Type: New Feature
> Components: Fuseki
> Affects Versions: Fuseki 0.2.1
> Reporter: Rob Vesse
> Priority: Minor
> Labels: compression, fuseki, gzip
> Fix For: Fuseki 0.2.1
>
> Attachments: FusekiGZipSupport.patch
>
>
> The attached patch for Fuseki gives the user the ability to enable gzip compression either by using a --gzip option at the command line or by calling ARQ.set(Fuseki.FusekiEnableGZipCompression, true) from code
> GZip compression is enabled by adding the GzipFilter to relevant servlets, this filter comes from the jetty-servlets package which is licensed under the same terms as the existing Jetty dependencies used so I assume licensing is not an issue. When enabled GZip compression only applies when the client sends an Accept-Encoding: gzip header and certain other conditions are met.
> Currently this feature is disabled by default as most browsers will send this header and when both the client and server are on the local machine performance can actually be worsened. When the client and server are on different networks a significant speed up (2-5x times depending on result format) has been seen.
--
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] (JENA-209) Add GZip compression support to Fuseki
Posted by "Andy Seaborne (Closed) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JENA-209?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andy Seaborne closed JENA-209.
------------------------------
> Add GZip compression support to Fuseki
> --------------------------------------
>
> Key: JENA-209
> URL: https://issues.apache.org/jira/browse/JENA-209
> Project: Jena
> Issue Type: New Feature
> Components: Fuseki
> Affects Versions: Fuseki 0.2.1
> Reporter: Rob Vesse
> Assignee: Andy Seaborne
> Priority: Minor
> Labels: compression, fuseki, gzip
> Fix For: Fuseki 0.2.1
>
> Attachments: FusekiGZipSupport.patch
>
>
> The attached patch for Fuseki gives the user the ability to enable gzip compression either by using a --gzip option at the command line or by calling ARQ.set(Fuseki.FusekiEnableGZipCompression, true) from code
> GZip compression is enabled by adding the GzipFilter to relevant servlets, this filter comes from the jetty-servlets package which is licensed under the same terms as the existing Jetty dependencies used so I assume licensing is not an issue. When enabled GZip compression only applies when the client sends an Accept-Encoding: gzip header and certain other conditions are met.
> Currently this feature is disabled by default as most browsers will send this header and when both the client and server are on the local machine performance can actually be worsened. When the client and server are on different networks a significant speed up (2-5x times depending on result format) has been seen.
--
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] (JENA-209) Add GZip compression support to
Fuseki
Posted by "Rob Vesse (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JENA-209?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13202782#comment-13202782 ]
Rob Vesse commented on JENA-209:
--------------------------------
Yes I would like to have it on by default.
My concern is that for a reasonable proportion of users they may only ever use Fuseki for local prototyping and their browser is almost certainly going to include an Accept-Encoding header by default so in-browser performance with both the client and server on the same machine will be negatively impacted
> Add GZip compression support to Fuseki
> --------------------------------------
>
> Key: JENA-209
> URL: https://issues.apache.org/jira/browse/JENA-209
> Project: Jena
> Issue Type: New Feature
> Components: Fuseki
> Affects Versions: Fuseki 0.2.1
> Reporter: Rob Vesse
> Priority: Minor
> Labels: compression, fuseki, gzip
> Fix For: Fuseki 0.2.1
>
> Attachments: FusekiGZipSupport.patch
>
>
> The attached patch for Fuseki gives the user the ability to enable gzip compression either by using a --gzip option at the command line or by calling ARQ.set(Fuseki.FusekiEnableGZipCompression, true) from code
> GZip compression is enabled by adding the GzipFilter to relevant servlets, this filter comes from the jetty-servlets package which is licensed under the same terms as the existing Jetty dependencies used so I assume licensing is not an issue. When enabled GZip compression only applies when the client sends an Accept-Encoding: gzip header and certain other conditions are met.
> Currently this feature is disabled by default as most browsers will send this header and when both the client and server are on the local machine performance can actually be worsened. When the client and server are on different networks a significant speed up (2-5x times depending on result format) has been seen.
--
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] (JENA-209) Add GZip compression support to
Fuseki
Posted by "Rob Vesse (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JENA-209?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13201960#comment-13201960 ]
Rob Vesse commented on JENA-209:
--------------------------------
Noticed that I left in the patch the fact that I was experimenting with bumping the ARQ dependency to 2.9.1-incubating-SNAPSHOT so that will want to not be included when the patch is applied
> Add GZip compression support to Fuseki
> --------------------------------------
>
> Key: JENA-209
> URL: https://issues.apache.org/jira/browse/JENA-209
> Project: Jena
> Issue Type: New Feature
> Components: Fuseki
> Affects Versions: Fuseki 0.2.1
> Reporter: Rob Vesse
> Priority: Minor
> Labels: compression, fuseki, gzip
> Fix For: Fuseki 0.2.1
>
> Attachments: FusekiGZipSupport.patch
>
>
> The attached patch for Fuseki gives the user the ability to enable gzip compression either by using a --gzip option at the command line or by calling ARQ.set(Fuseki.FusekiEnableGZipCompression, true) from code
> GZip compression is enabled by adding the GzipFilter to relevant servlets, this filter comes from the jetty-servlets package which is licensed under the same terms as the existing Jetty dependencies used so I assume licensing is not an issue. When enabled GZip compression only applies when the client sends an Accept-Encoding: gzip header and certain other conditions are met.
> Currently this feature is disabled by default as most browsers will send this header and when both the client and server are on the local machine performance can actually be worsened. When the client and server are on different networks a significant speed up (2-5x times depending on result format) has been seen.
--
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] [Resolved] (JENA-209) Add GZip compression support to Fuseki
Posted by "Andy Seaborne (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JENA-209?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andy Seaborne resolved JENA-209.
--------------------------------
Resolution: Fixed
Assignee: Andy Seaborne
Merged into the codebase.
The handling Accept-Encoding is enabled by default. Command line flag --gzip=yes or --gzip=no for explicit control (deafult "yes").
Please test. I'll leave the JIRA unclosed for a while to allow for testing.
> Add GZip compression support to Fuseki
> --------------------------------------
>
> Key: JENA-209
> URL: https://issues.apache.org/jira/browse/JENA-209
> Project: Jena
> Issue Type: New Feature
> Components: Fuseki
> Affects Versions: Fuseki 0.2.1
> Reporter: Rob Vesse
> Assignee: Andy Seaborne
> Priority: Minor
> Labels: compression, fuseki, gzip
> Fix For: Fuseki 0.2.1
>
> Attachments: FusekiGZipSupport.patch
>
>
> The attached patch for Fuseki gives the user the ability to enable gzip compression either by using a --gzip option at the command line or by calling ARQ.set(Fuseki.FusekiEnableGZipCompression, true) from code
> GZip compression is enabled by adding the GzipFilter to relevant servlets, this filter comes from the jetty-servlets package which is licensed under the same terms as the existing Jetty dependencies used so I assume licensing is not an issue. When enabled GZip compression only applies when the client sends an Accept-Encoding: gzip header and certain other conditions are met.
> Currently this feature is disabled by default as most browsers will send this header and when both the client and server are on the local machine performance can actually be worsened. When the client and server are on different networks a significant speed up (2-5x times depending on result format) has been seen.
--
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