[CDO] Does the CDO Server product allow for gzip compression? [message #1722092] |
Tue, 02 February 2016 17:16 ![Go to next message Go to next message](theme/Solstice/images/down.png) |
|
Hello all,
I've started developing a CDO compatibility plugin for the Epsilon languages [1, 2] and it is working nicely, but I would like to try enabling GZIP compression and see if it helps as well. I see that there is a GZIPStreamWrapper and a GZIPStreamWrapperInjector classes that I could use, and this thread mentions the setStreamWrapper/addStreamWrapper methods:
https://www.eclipse.org/forums/index.php/m/991500/?srch=compression+cdo#msg_991500
However, I assume I'd need to use them both in the server and the client. So far, I'm using the standard CDO Server product (as configured by Oomph), and I don't see any way to configure it to enable gzip compression. Would I need to roll my own product/application and add the GZIPStreamWrapperInjector myself?
[1]: http://eclipse.org/epsilon
[2]: https://github.com/epsilonlabs/emc-cdo
Kind regards,
Antonio
[Updated on: Tue, 02 February 2016 17:17] Report message to a moderator
|
|
|
|
|
|
|
Re: [CDO] Does the CDO Server product allow for gzip compression? [message #1722368 is a reply to message #1722361] |
Thu, 04 February 2016 10:28 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
|
Le 04/02/2016 10:58, Eike Stepper a écrit :
> Am 04.02.2016 um 10:21 schrieb Pierre-Charles David:
>> Note that there is already a proposed patch by Esteban here:
>> https://git.eclipse.org/r/#/c/60937/
> Good point!
>
> But I thought that review/bugzilla was about configuring the server-side
> stream wrapping on a case by case basis according to what the client
> actually used. My previous proposal was more about configuring it for
> all connections through a particular acceptor, explicitely with new XML
> markup.
From the commit message, it seems the patch adds support for this kind
of things in the XML config:
<acceptor type="tcp" listenAddr="0.0.0.0" port="2036">
<streamWrapper type="gzip"
protocol="cdo"
description="bufferSize:256"/>
</acceptor>
Which looks like "configuring it for all connections through a
particular acceptor, explicitely with new XML markup". Or maybe I'm
missing something (which is very possible)?
--
Pierre-Charles David - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Pierre-Charles David - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04646 seconds