Ticket #13 (assigned task)

Opened 18 months ago

Last modified 8 months ago

Improve new package/file notification protocol

Reported by: fpletz Owned by: fpletz
Priority: major Milestone: apt-zeroconf 0.5
Component: apt-zeroconf Keywords:
Cc:

Description

currently triggering refetch of complete package list on addition of new file (through inotify) -> traffic-intensive

possible solutions:

  • send out msgs like "I got xxx_1.0-1_all.deb now, please add to my pkg list"
  • accumulate new packages and trigger either package list updates or above msgs (announcing all new pkgs per msg) on completion of fetching through APT

Attachments

Change History

Changed 18 months ago by fpletz

  • status changed from new to assigned

Changed 18 months ago by fpletz

  • type changed from defect to task

Changed 18 months ago by fpletz

  • milestone changed from apt-zeroconf 0.3 to apt-zeroconf 0.4

Basic queuing of events is in 0.3, deferring further optimization to 0.4.

Changed 18 months ago by Andrew McCarthy

Instead of retrieving a package list immediately when notified, the client could instead mark the list as out-of-date. It would then only need to update these out-of-date lists when it receives a request for a package file from localhost, which for production machines might only be once a day.

To avoid a sudden large burst of updates, the client might choose to update the lists when more than 10 (for example) are out-of-date.

Changed 8 months ago by fpletz

  • milestone changed from apt-zeroconf 0.4 to apt-zeroconf 0.5

Add/Change #13 (Improve new package/file notification protocol)

Author



Change Properties
Action
as assigned
The ticket will be disowned. Next status will be 'new'
The owner will change to anonymous. Next status will be 'started'
as The resolution will be set. Next status will be 'closed'
Next status will be 'infoneeded'
to The owner will change. Next status will be 'assigned'
The owner will change to anonymous. Next status will be 'accepted'
 
Note: See TracTickets for help on using tickets.