On Fri, Aug 28, 2009 at 10:20:57AM -0500, Nicolas Williams wrote:
> On Fri, Aug 28, 2009 at 12:39:04AM -0500, Shawn Walker wrote:
> > Nicolas Williams wrote:
> > >One thing I find odd about IPS is that it has its own indexing scheme,
> > >and it doesn't strike me as a very good idea to home-grow your own when
> > >you can use any number of off-the-shelf ones...
> > 
> > If you read the mailing list archives, you'll see that many 
> > off-the-shelf solutions were considered.  Unfortunately, they failed to 
> > meet at least one of the following requirements:
> > 
> > * low/controllable resource usage
> > 
> > * minimal or no external dependencies
> > 
> > * useable by both client and server
> > 
> > * not detrimental to livecd
> 
> SQLite3 meets all of those requirements; it's tiny, has resource
> controls, no external dependencies outside libc, no reason why it
> couldn't be used by the client and server (though it's not a networked
> DB) and already on the livecd (because Firefox needs it).  It's
> blindingly fast for things like "pkg search -l ls", as in Mike's
> example.

I believe that Brock investigated SQLite and found that it didn't meet
his needs, but he has the specifics, not me.  Bart has always said that
one good test is worth a thousand expert opinions.  If you'd like to
write a prototype for search that uses SQLite, I'm sure we would be
interested to see how it performs.

-j
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to