Skip to main content

High Performance Redis Timeseries

Project description

Neutrino

A high performance library for storing scalar timeseries data in redis.

Installation

To install, simply type:

$ sudo pip install neutrino

Design

Time series are stored as scalar values in bins with a fixed time step. These bins are stored in chunks, and each chunk is stored under a single redis key.

Instead of specifying these parameters for each time series individually, the parameters are specified for a pattern, which is a regular expression. When time series data is later added, the name of each time series is matched to these patterns, and for each match a time series is added.

For example, the rule

>>> ts.add_rule(r'spam.*','f',1,10,100,'avg')

will match any key starting with ‘spam’. Any key matching this pattern will be stored in a time series which will average multiple values in a single bin, with a time step of 1 second, a chunk size of 10, and chunks will expire after 100 seconds.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

neutrino-0.2.tar.gz (5.0 kB view details)

Uploaded Source

File details

Details for the file neutrino-0.2.tar.gz.

File metadata

  • Download URL: neutrino-0.2.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for neutrino-0.2.tar.gz
Algorithm Hash digest
SHA256 fed39691fe171c35d97a912e4d9006b8fa82c345a63cb4020686e0fc16c4864d
MD5 f18fa49b1f960e582235bbf07e261d47
BLAKE2b-256 519a89311e42e43833457bac77fd678042b2f096103a3502d695651f7fa49a72

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page