StartupCache

Revision as of 22:53, 2 October 2009 by Tglek (talk | contribs) (Created page with 'StartupCache is a replacement for Fastload. It is meant to reside in the profile directory and provide a convient API to store continious chunks of data in it. I think we can u…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

StartupCache is a replacement for Fastload.

It is meant to reside in the profile directory and provide a convient API to store continious chunks of data in it.

I think we can use the JAR format for this

Things I want:

  • Index of entries in the file(at the end of it)
  • Per entry-checksum like jars
  • No multiplexing, writing to the cache will write into a memory buffer and it will be serialized on .Close()
  • Single mmaped cache file to reduce file io
  • Will be suitable for everything that's currently stored in fastload + manifest cache + pref cache + etc