rh-lab-q / deltametadata-prototype

2 stars 5 forks source link

get results of saved bandwidth for each period in time #6

Open jsilhan opened 8 years ago

jsilhan commented 8 years ago

from archives of old metadata on the server:

for archive in archivesfrom_latest:
    # extract archive into /var/cache/dnf/fedora-updates-*
    # call "dnf update --refresh --disablerepo=\* --enablerepo=updates --releasever=23 --assumeno"
    # save stats of downloaded bytes during deltametadata download
    # call "dnf update --refresh --disablerepo=\* --enablerepo=updates --releasever=23 --assumeno --disableplugin zsync"
    # save stats of downloaded bytes during metadata download

# print the results of saved bandwidth for each period in time

depends on #1

mluscon commented 8 years ago

A difference between original .gz file and --rsyncable archive should be counted too.

onionka commented 8 years ago

I don't think that bandwidth statistics will be a good idea, because internet speed can vary a lot.

But in #14 there are implemented classes for each of xml.gz file and they are containing info about how many bytes was downloaded, therefore we can create chart showing difference between normal download and synchronization. Note that zsync output gives complete size of downloaded data with .zsync file counted in.