Comment 10 for bug 548981

Revision history for this message
frizzle21 (frederik-nnaji) wrote :

i also noticed that update-notifier seems to be watching files such as REBOOT_FILE aka /var/run/reboot_required.
Watching single files may be efficient in linux, yet i would prefer listening on a message bus.
An asymptotic example:
watching an infinite number of single files would require infinite resources to keep up with all the queries to the file system.

listening to an infinite number of messages on a serial message bus does not require infinite resources (e.g. mem or cpu), since the number of messages would expand over time, not over resources.

i hope this can help somehow in designing a scalable solution here..