[sf-perl] json and xs

David Fetter david at fetter.org
Wed Nov 20 10:31:45 PST 2013


JSON::XS is there because it turns out that even with a "simple"
format like JSON, processing it is complex and takes a lot of CPU.
How much work is it to get JSON::XS deployed to prod?

Cheers,
David.
On Wed, Nov 20, 2013 at 10:15:00AM -0800, David Alban wrote:
> i installed JSON to get very basic json capabilities.  we install non-core
> modules on a network attached storage device, and so they're usable by
> multiple hosts.
> 
> i'm trying to update a homegrown module in production that we've been using
> in qa for a while.  it uses JSON and because of JSON::XS it is incompatible
> with some of the prod hosts that mount the filesystem containing our
> non-core modules.
> 
> i suppose the best thing to do would be to reinstall JSON on our production
> nas (rather than simply rsyncing from the qa nas to the prod nas.
> 
> i wonder why JSON depends on an architecture specific module.  isn't it
> just text processing?  perhaps it's a matter of optimization.
> 
> thanks,
> david
> -- 
> Live in a world of your own, but always welcome visitors.
> ***
> Rule of law isn't for everyone.
> http://www.amazon.com/Liberty-Justice-Some-Equality-Powerful/dp/0805092056

> _______________________________________________
> SanFrancisco-pm mailing list
> SanFrancisco-pm at pm.org
> http://mail.pm.org/mailman/listinfo/sanfrancisco-pm


-- 
David Fetter <david at fetter.org> http://fetter.org/
Phone: +1 415 235 3778  AIM: dfetter666  Yahoo!: dfetter
Skype: davidfetter      XMPP: david.fetter at gmail.com
iCal: webcal://www.tripit.com/feed/ical/people/david74/tripit.ics

Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate


More information about the SanFrancisco-pm mailing list