As a suggestion, I had pretty good success swapping out cherrypy with
mod-wsgi and apache on pkgfactory.opensolaris.org. That plus swapping
out sqlite for mysql made a many X times improvement. (I don't
remember the %'s any more but it was certainly 10x or so). I never
regretted
using python for pkgfactory after swapping out those components.
Cherrypy and sqlite were great for debugging 100's even 10,000's of
pkgfactory items, but once I hit the 100K-200K barrier together they
made the system unusable. (as in multi minute delays).
I swapped in apache and mysql and the system still runs pretty reasonably
with 3million+ items to deal with. And it's still using python and django
as it's base.
My $0.02.
Doug.
On 06/ 4/10 05:02 PM, Darren Reed wrote:
On 4/06/10 02:12 PM, Shawn Walker wrote:
On 06/ 4/10 02:07 PM, Darren Reed wrote:
Someone was complaining about a build server being slow, so I've just
started
to look into it... and this thing called pkg.depotd seems to be
constantly
near the top of top output... so what was it doing...
...
... nothing much. (truss -dD -p..)
The above seems like a bad internal algorithm that doesn't let poll()
All of this logic is part of cherrypy; not the pkg code itself.
I'm sure they'd welcome contributions to make it more efficient :)
Sigh, I knew that the pkg tools should have been written in C and not
python.
Darren
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss