Code Monkey home page Code Monkey logo

graphitebase's Introduction

GraphiteBase

Well-tested and fast primitives for building Graphite-like systems.

UNDER DEVELOPMENT - API WILL NOT BE STABLE FOR A WHILE

Docs

See godoc.org/github.com/msiebuhr/GraphiteBase.

Development

  • Clone this repository
  • Install the git precommit-hook: make git-pre-commit-hook
  • Investigate/fix/hack on an issue.
  • Push code.

Testing & benchmarking

go test ./...

And

go test -bench=".*"

License

BSD (2-clause)

graphitebase's People

Contributors

msiebuhr avatar

Stargazers

 avatar

Watchers

 avatar  avatar

graphitebase's Issues

Should Metric use time.Time for metric times?

The current way Graphite is built, only one-second resolution of data since the UNIX epoch is allowed. But should that keep us from doing better internally?

  • It takes up a wee bit more space per metric.
  • It does give us a lot of freedom internally.
  • Lots of exciting time-manipulation options for free.

Add MetricBatch sub-package

From reading about Graphite (and reading implementations) it does seem there is a heavy emphasis on batching a lot of data for one metric.

GraphiteBase should have a sub-system for that.

type BulkMetric struct {
    Name string
    Data []MetricValues
}

And then a system to make a channel of Metrics into a channel of BulkMetrics.

  • Setting how many metrics it should buffer before spewing out bulk data
  • Allow for querying

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.