Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Can someone please write a *working* JSON module

by talexb (Chancellor)
on Oct 24, 2021 at 21:25 UTC ( #11137983=note: print w/replies, xml ) Need Help??


in reply to Can someone please write a *working* JSON module

    JSON::XS is not thread-safe (crashes mod_perl in production) and seems to have a memory leak (I see oob on apache after some time...)

Would it be possible to take mod_perl out of the equation, and instead have a daemon to do the JSON translation? Your mod_perl code could call the daemon and get back the object. The daemon could spawn a new kid to do the actual translation, which should obviate any possible memory leakage problems. I wrote something like that in 2007-08, and it worked really well.

Alex / talexb / Toronto

Thanks PJ. We owe you so much. Groklaw -- RIP -- 2003 to 2013.

Replies are listed 'Best First'.
Re^2: Can someone please write a *working* JSON module
by Anonymous Monk on Oct 24, 2021 at 22:05 UTC
    Heh. OP is complaining about block eval slowing stuff down ...

      Did I miss the part where they patiently and carefully laid our their evidence .. proving this claim?

      Alex / talexb / Toronto

      Thanks PJ. We owe you so much. Groklaw -- RIP -- 2003 to 2013.

        You didn't miss that. Youse missed the Logicus Modus Operandi

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11137983]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2022-01-24 04:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (64 votes). Check out past polls.

    Notices?