Pickled objects over the network

Sion Arrowsmith siona at chiark.greenend.org.uk
Fri Jul 20 09:00:06 EDT 2007


Rustom Mody <rustompmody at gmail.com> wrote:
>Since pickle has problems
>-- does not interface well with networking

In what way does pickle not interface well with networking? Other
than, possibly, security issues which you list as a separate problem
with it. I've taken a working XML-RPC system and replaced the XML with
pickle, and had no issues. Other than an order of magnitude
performance gain. (OK, a cow-orker allegedly and unreproducibly found
that cPickle was leaking memory, and as the performance gains weren't
so great with the pure Python implementation, it got shelved and we
stuck with XML-RPC.)

-- 
\S -- siona at chiark.greenend.org.uk -- http://www.chaos.org.uk/~sion/
   "Frankly I have no feelings towards penguins one way or the other"
        -- Arthur C. Clarke
   her nu becomeþ se bera eadward ofdun hlæddre heafdes bæce bump bump bump



More information about the Python-list mailing list