concurrent, networked access to a python list
<p>I have a data structure like this:</p>

<pre><code>{
    'key1':[
        [1,1,'Some text'],
        [2,0,''],
        ...
    ],
    ...
    'key99':[
        [1,1,'Some text'],
        [2,1,'More text'],
        ...
    ],
}
</code></pre>

<p>The size of this will be only like 100 keys and 100 lists in each key. </p>

<p>I like to store it and retrieve it (the entire list) based on the key.  This is for a use in a web-server with not very high traffic. However, the back end must handle concurrent reads and writes.</p>

<p>How to do this in a safe way and without writing too much code?</p>

<p>I suppose storing the <a href="http://docs.python.org/library/pickle" rel="nofollow">pickled</a> object in SQLite is a possible solution.</p>

<p>Are there better ways?</p>
