[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: What Fedora makes sucking for me - or why I am NOT Fedora



Hello James,

On Thu, 11 Dec 2008, James Antill wrote:
>  The main reason┬╣ it was a daemon initially is that pirut/pupplet spoke
> to it over dbus.
>  Changing yum-cron to use yum-updatesd --oneshot was on my TODO list a
> long time ago, but it turned out to be non-trivial and keep backwards
> compat. with both pieces ... so nothing happened to either piece.

well, we all know nowadays, that it isn't really perfect, if everything
depends on dbus. Yes I know, I'm rubbing salt into the wounds. But stuff is
also breaking very easily.

> ┬╣ One other feature is that we wanted "hourly" but with a random start,
> so if everyone turned their computer on at 9am it wouldn't slam the
> repo. ... this might be possible in newer cron's though.

This is already possible with every cron: "sleep $(expr $RANDOM % 7200)" is
something, spamassassin already uses inside of the cronjob. That could have
been lightly adapted for a yum cronjob to generate more randomness and to
enlarge the possible timeframe.

Of course I understand, that dbus is nice and so on, but I'm not seeing how
it is really useful. Again, the push happens about every 24 hours and the
cache of the downloaded files by yum expires after maybe one hour, if I am
not wrong here. Why do we generate such unnecessary load and traffic?


Greetings,
  Robert


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]