tstorage (Time series embedded db)

Table of Contents

Project Info

Embedded time series database for usage in a Go application.

Example

Example on how to use the tstorage project can be found here

Internal Document

Google doc diagram and explanation can be found inside here.

The document contains the following information:

  • Structure of tstorage.memoryPartition which is used as container to collect metric information in memory

  • Breakdown of data stored inside tstorage.memoryPartition in terms of metrics.

  • Diagram outlining the structure of tstorage.storage showing the linked list information of all parititions (memory and disk).

  • Steps breakdown of when a new partition is created.

  • Splitting of reading partition file from disk into memory mapped and meta.json into meta structure.

  • Internal representation of the Gorilla compression