Re: starting Fedora Server SIG

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

 



On Thu, Nov 13, 2008 at 7:24 PM, Jeff Spaleta <jspaleta@xxxxxxxxx> wrote:
> On Thu, Nov 13, 2008 at 3:17 PM, Martin Langhoff
> <martin.langhoff@xxxxxxxxx> wrote:
>> I tried to do the same thing with dbus. Right - every script had to be
>> running all the time. With any modern dynamic language, that's a ton
>> of RAM that goes to waste.
>
> Did you look at oddjob for that?

No - and the manpage isn't particularly helpful. I assume it could be
a replacement for incrond using dbus? Even if it was, inotify+files
seems far better than dbus messages:

 - The creation and move/rename events are very efficient and well
suited events to trigger actions.

 - Permissions fit the classic posix + ACL file/dir permission model
everyone understands.

 - Events can be handled synchronously or asynchronously (with old
fashioned cron). The message (file) does not go away.

 - The is minimal penalty if I'm dealing with large chunks of data.
The event handler can stream or mmap the file or do whatever crazy
efficient scheme it wants.

Initially, I wasn't so certain about incrond, but seeing dbus usage
and incrond usage over time... let's say that I'm not running to dbus
anytime soon ;-)

cheers,


m
-- 
 martin.langhoff@xxxxxxxxx
 martin@xxxxxxxxxx -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux