One amendment to the proposal regarding the compression option.

On reflection I would like to change the default to "deflate" (on), with
"none" available to disable. Reasons:

- It preserves the existing Java behavior. The Java driver already sends
  Accept-Encoding: deflate unconditionally today, so defaulting on keeps that
  behavior rather than silently disabling compression for existing users on
  upgrade.
- Compression is beneficial for the common case (typically textual GraphBinary
  result payloads over the network), so on-by-default is the better default for
  most users; those with incompressible/tiny payloads or fast local links can
  opt out with "none".

Net effect of the change:
- Java: no behavior change (already on today).
- Go and .NET: this IS a behavior change. They previously defaulted
  EnableCompression to false; after this they negotiate deflate by default.
  Set the option to none/CompressionNone to opt out.
- Python and JS: new option, defaults on.

Let me know if there are objections to the default flip, particularly the
Go/.NET behavior change.

Thanks,
Guian

Reply via email to