ProductPromotion
Logo

Rust

made by https://0x3d.site

GitHub - avito-tech/bioyino: High performance and high-precision multithreaded StatsD server
High performance and high-precision multithreaded StatsD server - avito-tech/bioyino
Visit Site

GitHub - avito-tech/bioyino: High performance and high-precision multithreaded StatsD server

GitHub - avito-tech/bioyino: High performance and high-precision multithreaded StatsD server

Bioyino

The StatsD server written in Rust

Description

Bioyino is a distributed statsd-protocol server with carbon backend.

Features

  • all basic metric types supported (gauge, counter, diff-counter, timer), new types are easy to be added
  • fault tolerant: metrics are replicated to all nodes in the cluster
  • clustering: all nodes gather and replicate metrics, but only leader sends metrics to backend
  • precise: 64-bit floats, full metric set is stored in memory (for metric types that require post-processing), no approximation algorithms involved
  • standalone: can work without external services
  • safety and security: written in memory-safe language
  • networking tries to do it's best to avoid dropping UDP packets as much as possible
  • networking is asynchronous
  • small memory footprint and low CPU consumption

Status

Currently works in production at Avito, processing production-grade metric stream (~4M metrics per second on 3 nodes)

Installing

One of Bioyino's most powerful features - multimessage mode - require it to be working on GNU/Linux.

  • Install capnp compiler tool to generate schemas. It's usually downloaded using your distribution's package manager.
  • Do the usual Rust-program build-install cycle. Please note, that building is always tested on latest stable version of Rust. Rust 2018 edition is required.
$ git clone <this repo>
$ cargo build --release && strip target/release/bioyno

Build RPM package (for systemd-based distro)

  1. Install requirements (as root or with sudo)
    yum install -y cargo capnproto capnproto-devel
    yum install -y ruby-devel
    gem install fpm
  1. Build
    bash contrib/fpm/create_package_rpm.sh

Build DEB package (for systemd-based distro)

  1. Install requirements (as root or with sudo)
    apt-get install -y capnproto libcapnp-dev
    apt-get install -y ruby-dev
    gem install fpm
  1. Build
    bash contrib/fpm/create_package_deb.sh

Configuring

To configure, please, see config.toml, all the options are listed there and all of them are commented.

Contributing

You can help project by doing the following:

  • find TODOs/FIXMEs and unwraps in the code fix them and create a PR
  • solve issues
  • create issues to request new features
  • add new features, like new metric types
  • test the server on your environment and creating new issues if/when bugs found

More Resources
to explore the angular.

mail [email protected] to add your project or resources here 🔥.

Related Articles
to learn about angular.

FAQ's
to learn more about Angular JS.

mail [email protected] to add more queries here 🔍.

More Sites
to check out once you're finished browsing here.

0x3d
https://www.0x3d.site/
0x3d is designed for aggregating information.
NodeJS
https://nodejs.0x3d.site/
NodeJS Online Directory
Cross Platform
https://cross-platform.0x3d.site/
Cross Platform Online Directory
Open Source
https://open-source.0x3d.site/
Open Source Online Directory
Analytics
https://analytics.0x3d.site/
Analytics Online Directory
JavaScript
https://javascript.0x3d.site/
JavaScript Online Directory
GoLang
https://golang.0x3d.site/
GoLang Online Directory
Python
https://python.0x3d.site/
Python Online Directory
Swift
https://swift.0x3d.site/
Swift Online Directory
Rust
https://rust.0x3d.site/
Rust Online Directory
Scala
https://scala.0x3d.site/
Scala Online Directory
Ruby
https://ruby.0x3d.site/
Ruby Online Directory
Clojure
https://clojure.0x3d.site/
Clojure Online Directory
Elixir
https://elixir.0x3d.site/
Elixir Online Directory
Elm
https://elm.0x3d.site/
Elm Online Directory
Lua
https://lua.0x3d.site/
Lua Online Directory
C Programming
https://c-programming.0x3d.site/
C Programming Online Directory
C++ Programming
https://cpp-programming.0x3d.site/
C++ Programming Online Directory
R Programming
https://r-programming.0x3d.site/
R Programming Online Directory
Perl
https://perl.0x3d.site/
Perl Online Directory
Java
https://java.0x3d.site/
Java Online Directory
Kotlin
https://kotlin.0x3d.site/
Kotlin Online Directory
PHP
https://php.0x3d.site/
PHP Online Directory
React JS
https://react.0x3d.site/
React JS Online Directory
Angular
https://angular.0x3d.site/
Angular JS Online Directory