[packagekit] viability of the current yum backend ?

David Zeuthen david at fubar.dk
Wed Jan 2 14:16:58 PST 2008


Hi,

Keep in mind that whenever you add caching you need to care about
coherency and whatnot. The devil in the detail here, broadly speaking,
is that cache coherency issues pops up when you least expect. And
normally it's very hard to debug such things.

So unless it's worth it, try avoid caching as much as you can. Or,
rather, implement the cache as low in the stack as possible (e.g. in the
yum/rpm code base itself). This is because of the fact that the IPC
overhead from pk-update-icon<->message bus<->packagekitd<->yum-backend
is close to negligible compared to human response times (> 20ms)

      David





More information about the PackageKit mailing list