Debian, Ubuntu, lots of users Distributed Users fetch the latest - - PowerPoint PPT Presentation

debian ubuntu lots of users distributed
SMART_READER_LITE
LIVE PREVIEW

Debian, Ubuntu, lots of users Distributed Users fetch the latest - - PowerPoint PPT Presentation

Debian, Ubuntu, lots of users Distributed Users fetch the latest ... usually at the same time Saturation ... send less bits Compression ... already done (gzip, bzip2) Delta-encoding ... known versions only


slide-1
SLIDE 1
  • Debian, Ubuntu, lots of users
  • Distributed
slide-2
SLIDE 2
  • Users fetch the latest
  • ... usually at the same time
  • Saturation
  • ... send less bits
slide-3
SLIDE 3
slide-4
SLIDE 4
  • Compression
  • ... already done (gzip, bzip2)
slide-5
SLIDE 5
slide-6
SLIDE 6
slide-7
SLIDE 7
  • Delta-encoding
  • ... known versions only (deltarpm)
  • ... or dynamic (rsync)
slide-8
SLIDE 8
slide-9
SLIDE 9
  • Edit script

– ADD(“...”) literals – COPY(length, position) – EOS()

slide-10
SLIDE 10
slide-11
SLIDE 11
slide-12
SLIDE 12
  • Where are you?

– I'll send you directions.

  • Here's a map...

– Find your own way!

slide-13
SLIDE 13
  • Reverse rsync

– Precalculated digest (“cached”) – No server side – Unknown local version v0.9, v1.0, v.1.0special – See rdiff, zsync

slide-14
SLIDE 14
slide-15
SLIDE 15
  • Restrictions

– Existing dumb mirror network (HTTP/1.1)

  • no server side

– Any version to latest (avoid n^2 patches)

  • reuse literal data

– Scalable: CPU entirely on client

slide-16
SLIDE 16
slide-17
SLIDE 17
slide-18
SLIDE 18
  • Not bump disk space usage
  • academic mirrrors
  • .Bit-for-bit reconstruction
  • GPG signatures
  • .deb is not a 'normal' file
  • offsets of real data
slide-19
SLIDE 19
slide-20
SLIDE 20
  • Reconstruction
  • Deterministic
  • Any decision/choice is not deterministic
  • record the choice
  • Big list of decisions
  • reduce, by diffing against a model (eg. zlib -9)
slide-21
SLIDE 21
  • DEFLATE (rolling)

– gzip, pkzip, png, pdf... – 32kB LZ string match, Huffman – rolling

  • Bzip2

– 900kB BWT – RLE, BWT, MTF, RLE/Huffman – block

slide-22
SLIDE 22

Paul Sladen

Nineteen Inch

Questions?