We're already always sending over JSON - we're just storing in YAML on the client. This is my stupidity in the beginning; I just couldn't get it done with the current model of how we do caching.
On May 15, 2012, at 10:09 AM, Trevor Vaughan wrote: > Just out of curiosity, since all clients report back to the server > what version of Puppet and Ruby version they are running, couldn't you > dynamically select a serialization format based on optimization > factors? > > Marshal -> PSON -> YAML > > Just curious. > > Thanks, > > Trevor > > On Tue, May 15, 2012 at 4:25 AM, James Turnbull <[email protected]> wrote: >> Brice Figureau wrote: >>> On Tue, 2012-05-15 at 00:43 -0700, James Turnbull wrote: >>>>>> Just getting rid of that yaml serialization -- or switching to JSON -- >>>>>> would make a huge difference. >>>>>> >>>>> I'll sound like a broken record, but that'd be awesome if we could >>>>> resurrect #2892 from the grave: >>>>> https://projects.puppetlabs.com/issues/2892 >>>>> >>>> Didn't that get supplanted by: >>>> >>>> https://projects.puppetlabs.com/issues/3714 >>>> >>> >>> It's additional: caching in JSON is good because it's faster. >>> I still think we don't need to re-serialize what we already have >>> serialized, so we'd gain a serialization in the cycle (ie 1/3 of the >>> total time retrieving the catalog), hence my request of resurrecting >>> #2892. >> >> I re-opened and assigned to Daniel for a comment. >> >> James >> >> -- >> James Turnbull >> Puppet Labs >> 1-503-734-8571 >> To schedule a meeting with me: http://tungle.me/jamtur01 >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Puppet Developers" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> For more options, visit this group at >> http://groups.google.com/group/puppet-dev?hl=en. >> > > > > -- > Trevor Vaughan > Vice President, Onyx Point, Inc > (410) 541-6699 > [email protected] > > -- This account not approved for unencrypted proprietary information -- > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Developers" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/puppet-dev?hl=en. > -- Luke Kanies | http://about.me/lak | http://puppetlabs.com/ | +1-615-594-8199 -- You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-dev?hl=en.
