Jira (PDB-2640) Use gzip compression for commands sent from the terminus

1 view
Skip to first unread message

Russell Mull (JIRA)

unread,
Apr 20, 2016, 2:54:03 PM4/20/16
to puppe...@googlegroups.com
Russell Mull created an issue
 
PuppetDB / New Feature PDB-2640
Use gzip compression for commands sent from the terminus
Issue Type: New Feature New Feature
Assignee: Unassigned
Created: 2016/04/20 11:53 AM
Priority: Normal Normal
Reporter: Russell Mull

... because of course we should. This is actually going to be pretty important for people doing replication over a WAN.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9)
Atlassian logo

Ryan Senior (JIRA)

unread,
May 10, 2016, 9:04:04 AM5/10/16
to puppe...@googlegroups.com

Ryan Senior (JIRA)

unread,
Jun 21, 2016, 12:59:15 PM6/21/16
to puppe...@googlegroups.com

Ryan Senior (JIRA)

unread,
Sep 20, 2016, 5:47:33 PM9/20/16
to puppe...@googlegroups.com
Ryan Senior updated an issue
Change By: Ryan Senior
Story Points: 3
This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe)
Atlassian logo

Ryan Senior (JIRA)

unread,
Sep 21, 2016, 12:26:05 PM9/21/16
to puppe...@googlegroups.com

Ryan Senior (JIRA)

unread,
Sep 21, 2016, 12:26:05 PM9/21/16
to puppe...@googlegroups.com

Ryan Senior (JIRA)

unread,
Jan 4, 2017, 9:39:02 AM1/4/17
to puppe...@googlegroups.com

Ryan Senior (JIRA)

unread,
Jan 4, 2017, 9:39:03 AM1/4/17
to puppe...@googlegroups.com

Ryan Senior (JIRA)

unread,
Jan 11, 2017, 11:50:03 AM1/11/17
to puppe...@googlegroups.com

Jeremy Barlow (JIRA)

unread,
Jan 18, 2017, 11:58:03 AM1/18/17
to puppe...@googlegroups.com

Jeremy Barlow (JIRA)

unread,
Jan 18, 2017, 3:25:02 PM1/18/17
to puppe...@googlegroups.com
Jeremy Barlow commented on New Feature PDB-2640
 
Re: Use gzip compression for commands sent from the terminus

One of the things that seems a little bit difficult about this is the content negotiation. Can the client safely assume that whatever server it is going to be sending the gzipped payload to will be capable of decompressing it on receipt?

From a little experimentation I've been doing, it doesn't appear that the Jetty / Ring layer of our Clojure stack will automatically enable the input stream for the incoming request to be ungzipped as it is read, if necessary. Presumably, we'll want to add some middleware to PuppetDB to wrap the inputstream with a GZIPInputStream on the server side to handle that.

Since it would seem we would need both client (terminus) and server-side changes for this ticket, do we need to worry about a new client (which can/would gzip the request body) potentially talking to an old PuppetDB server (which wouldn't know to try to gunzip the request body)? Ryan Senior - what do you think?

Karen Van der Veer (JIRA)

unread,
Jan 25, 2017, 1:06:07 PM1/25/17
to puppe...@googlegroups.com
Karen Van der Veer updated an issue
 
Change By: Karen Van der Veer
Sprint: SE 2017-01-25 , SE 2017-02-08

Karen Van der Veer (JIRA)

unread,
Feb 8, 2017, 1:05:06 PM2/8/17
to puppe...@googlegroups.com
Karen Van der Veer updated an issue
Change By: Karen Van der Veer
Sprint: SE 2017-01-25, SE 2017-02-08 , SE 2017-02-22

Russell Mull (JIRA)

unread,
Apr 4, 2017, 6:46:02 PM4/4/17
to puppe...@googlegroups.com

Claudia Petty (Jira)

unread,
Jun 21, 2023, 10:56:05 AM6/21/23
to puppe...@googlegroups.com
Claudia Petty updated an issue
Change By: Claudia Petty
Labels: new-feature
This message was sent by Atlassian Jira (v8.20.21#820021-sha1:38274c8)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages