persistent name server option coming in 4.30

Irmen de Jong <[email protected]> Thu, 06 Nov 2014 22:36:27 +0100
Newsgroups gmane.comp.python.pyro
Message-ID <[email protected]>
Hi,

For the next version I've started to add a persistency feature to the name server.
It's starting to take shape pretty well I think, I've just committed stuff that adds a
'-s' (storage) option to the name server where you can select the storage type to use.
Default is still the volatile in-memory storage, but you can also specify
"dbm:nameserver.dbm" to let the nameserver store its registry in a persistent dbm
datafile on disk. Next time you run the nameserver it will remember all registrations :)
I'm planning on adding a sqlite based storage option as well because the dbm one doesn't
scale (dbm doesn't allow concurrent access).


Irmen

------------------------------------------------------------------------------