Internals

How a Datahoster host works inside. None of this is needed to run a host, it is here so you can see the whole picture and so the design has one place to live. The local client is the code that runs on your machine and the server is everything on the box it talks to. A collection is a set of columns on disc, laid out at a fixed width and chunked into numbered files. The whole dataset is held in memory as typed arrays with the same layout, so a read is a walk over memory. The local client keeps the two ends in step over a private sync API, and the log browsers are built from what it pulls down through the tools API.