Skip to content
This repository has been archived by the owner on Jun 10, 2021. It is now read-only.
/ tslf-format Public archive

Half time series storage format, half journalling library for these. Superseded by tempsdb

License

Notifications You must be signed in to change notification settings

smok-serwis/tslf-format

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tslf-format

Build Status license

A TSLF framer/writer/manager

TSLF, or Time Series Logging Format, is:

  1. A journal for collecting time series data from many sensors. You get a value, you pass it to TSLF. TSLF writes it to disk in a durable and fast way.
  2. A database - you can actually store these values there!

TSLF is used as temporary transactional storage for Longshot however it is generic enough to use as a journal/storage format. Longshot removes data synchronized with server - TSLF allows for that, because it's a journal too.

This is compatible with:

  • Python 2.7
  • Python 3.x
  • PyPy

What's this

A TSLF file is a two dimensional map of (tag::utf8, timestamp::qword) => value::binary, sorted by timestamp.

Tags are means to be reused many times, and therefore are compressed with a form of RLE.

About

Half time series storage format, half journalling library for these. Superseded by tempsdb

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages