Giter Club home page Giter Club logo

stats-rrdb's Introduction

STATS-RRDB

What is it?

stats-rrdb is a high-performance server for collecting, aggregating and storing various statistics. It's a combination of the famous statsd and graphite without the UI from the later.

stats-rrdb provides simple out-of-the box configuration; query language (TCP connections); optimized update language (UDP connections), support for current and historical data; and, of course, high-performance of C++ code.

stats-rrdb is focused on data and data only. It does not provide any graphical interface (though there are examples of how to build one quickly). However, it has a lot of advanced DB features to make it run fast and efficient:

  • TCP and UDP servers for queries returning data and fast updates
  • Data blocks cache: only frequently accessed data blocks are loaded in memory
  • Open file handles cache: set open files limit high in the OS and save time on re-opening files all the time
  • Journal file: never lose your data
  • Easy integration with your favorite charting package (Google Charts example)

Why do we need yet another statsd?

Well, fair question.

First, I really dislike the architecture for statsd and graphite for two main reasons:

  • The data storage is split between two systems (statsd and graphite's whisper)
  • The graphite engine combines data storage and presentation layers in one package
  • The graphite architecture is overly complicated for the task

Second, I don't want yet another "framework" in the production environment. I like Python as much as the next guy, but if you run XXX (insert your favorite non-Python here), then why do you need to install and maintain Python environment? And even if you install Python, then don't forget about packages compatibilities (while installing graphite, I was presented with a choice of either keeping yum or installing graphite... I decided to go with yum).

Last but not the least, it is fun to write server side software :)

Installation

For installation instructions see Install.

Roadmap

  • 1.x.0 - query language joins to query multiple metrics in the same time

stats-rrdb's People

Contributors

lsh123 avatar

Watchers

 avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.