Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Architecture

EscoDB consists of three layers:

  • The Query API is the public interface that applications will use; we will go through the operations it provides later in this design.

  • The Adapter API is an abstract interface with implementations for various different storage systems: the filesystem, localStorage, Dropbox, remoteStorage, etc.

  • The Shard Manager, which sits between these two layers and optimises access to shard files – that is, calls to the Adapter API – across operations performed by the Query interface.

A great deal of this design deals with the implementation of the Shard Manager and how it translates between the needs and capabilities of the other layers.