On Tue, Feb 01, 2005 at 10:44:00AM -0500, Nicholas Jones wrote: > > > portage to use backends on each system, so that the user can choose > > > whether to use BerkeleyDB,flatfiles,SQl or so? OneOfOne (don't know his actual name) also had a mysql backend for use with stable portage versions- hunting around bugs.g.o should turn it up (think the submitter was hackeron).
Code already has been written (not finished/integrated) for the cache- offhand, sqlite code is already available, and writing other rdbms based backends should be pretty simple. Planned on integrating new code in for next major release (at least thats something I'm intending on working on). > > > Yes. > > echo portdbapi.auxdbmodule=portage_db_anydbm.database >> /etc/portage/modules > echo eclass_cache.dbmodule=portage_db_anydbm.database >> /etc/portage/modules > > Python does not handle segfaults outside of itself, so any ensuing > segfaults are the users responsibility. (dbm can segfault) There also are concurrency issues with the anydbm backend last I checked; it's definitely faster (less syscalls/io) though. for flat cache users, http://dev.gentoo.org/~ferringb/flat-non-locking.patch should speed up normal usage. > > --NJ > -- [email protected] mailing list
