Gzip compression on SOAP/REST responses

This space is made available to users of Open Patent Services (OPS) web-service and now also to users of EPO’s bulk data subscription products such as 14. EPO worldwide bibliographic database (DOCDB), 14.11 EPO worldwide legal status database (INPADOC), 14.12 EP full text data, 14.1 EP bibliographic data (EBD)and more.

Users can ask each other questions, exchange experiences and solutions, post ideas. The moderator will use this space to announce changes or other relevant information.
Post Reply

luc.duchosal
Posts: 6
Joined: Wed Jun 25, 2008 12:53 pm
Location: Neuchâtel
Contact:

Gzip compression on SOAP/REST responses

Post by luc.duchosal » Tue Jan 07, 2014 8:54 am

Hello,

Would you consider compressing HTTP REST Response with gzip algorythm ?

We developped request throttling and request caching after the introduction of rate limit
and quota limit. The main limiting factor is now the QuotaPerHour that is way too low :
X-IndividualQuotaPerHour-Used: xxx
X-RegisteredPayingQuotaPerWeek-Used: xxx

Gzip compression would hugely reduce the size of REST response :

http://ops.epo.org/3.0/rest-services/fa ... A2/biblio/
JSON no compression : 247'411 bytes
XML no compression : 186'325 bytes
JSON gzip : 8'833 bytes
XML gzip : 7'903 bytes

It looks like you're using JBoss application server that may support natively gzip compression.

On the client side, every serious HTTP/REST framework natively support gzip compression.
That would mean instant benefit for everyone with few lines of code.

Let us know
Regards
Luc


EPO / OPS Support
Posts: 1027
Joined: Thu Feb 22, 2007 5:32 pm

Re: Gzip compression on SOAP/REST responses

Post by EPO / OPS Support » Tue Jan 07, 2014 11:44 am

Dear user,

Thank you for your feedback, we will forward this to our IT.

I've just noticed that you are still using version 3.0 which was suppose to be shut down already by the end of 2013.

Migrate to version 3.1 as soon as possible because we will be shutting old version down any day now.

Also, please make sure to read our updates on the website and forum, version 3.0 should not be used as of October 2013 if not even earlier (beta version of 3.1 was already available in June 2013). We do make sure to inform users about all changes on time.

Kind regards,

OPS support


luc.duchosal
Posts: 6
Joined: Wed Jun 25, 2008 12:53 pm
Location: Neuchâtel
Contact:

Re: Gzip compression on SOAP/REST responses

Post by luc.duchosal » Tue Jan 07, 2014 1:42 pm

Dear OPS Support,

Thanks for your time, and thanks for forwarding this to technical support.
As far as I know, neither 3.0 nor 3.1 rest service return gzipped content.

GET http://ops.epo.org/3.1/rest-services/fa ... .A2/biblio HTTP/1.1
Accept: text/html, application/json, */*
Accept-Encoding: gzip
Host: ops.epo.org

The "accept-encoding: gzip" header should be taken into account and
returned REST response might be gzipped.

Our production applications uses the 3.1 service. Thanks for pointing this out.

Regards
Luc


EPO / OPS Support
Posts: 1027
Joined: Thu Feb 22, 2007 5:32 pm

Re: Gzip compression on SOAP/REST responses

Post by EPO / OPS Support » Tue Jan 07, 2014 1:45 pm

Dear user,

As mentioned, I will forward your request to IT because we don't support gzipped content at the moment.

Kind regards,

OPS support


Post Reply