[sldev] Packaging the viewer for Linux distributions

Alissa Sabre alissa_sabre at yahoo.co.jp
Thu Oct 11 16:41:26 PDT 2007


> you can get much bigger wins by doing a binary delta on the executable.  

We then need to make sure the _current_version_ is exactly the one the
patching server considers to be...  Well, SL viewer calculates MD5
hash of itself upon startup.  It can be a good identiy.

So, the scheme might be:

- The viewer (or an updator?) calculates MD5 hash of the user's viewer
  executable and send it to the server (as a part of URL, for
  example.)

- The patch server looks up a version that corresponds to the given
  MD5 in its own database.  If it finds one, send the suitable binary
  diff.  If it doesn't, send the whole (no diff) binary as a fallback.
--------------------------------------
Easy + Joy + Powerful = Yahoo! Bookmarks x Toolbar
http://pr.mail.yahoo.co.jp/toolbar/



More information about the SLDev mailing list