avito-tech / bioyino

High performance and high-precision multithreaded StatsD server
The Unlicense
228 stars 22 forks source link

cargo: command not found #76

Open syatihoko opened 1 year ago

syatihoko commented 1 year ago

Now i use Dokcer.

Can you advise or share your experience. Should I use it in Docker or is it better native? Сan you tell me if it's worth using "async" (was it used in Avito)? And which load balancer was used in cluster Bioyino, Haproxy for UDP?

I try compile, but recieve error: cargo: command not found

Found a solution: curl https://sh.rustup.rs -sSf | sh -s -- -y [solution](https://github.com/paritytech/substrate/issues/1070)

Not sure, got a new error:

[error: cannot find macro `error` in this scope
   --> src/util.rs:182:13
    |
182 |             error!(log, "leader state change: {} -> {}", is_leader, acquired);
    |             ^^^^^
    |
    = help: consider importing one of these items:
            crate::error
            log::error
            slog::error
            slog_scope::error

warning: unused import: `warn`
  --> src/util.rs:12:15
   |
12 | use slog::{o, warn, Drain, Logger};
   |               ^^^^
   |
   = note: `#[warn(unused_imports)]` on by default

warning: `bioyino` (bin "bioyino") generated 1 warning
error: could not compile `bioyino` due to previous error; 1 warning emitted
Build error](url)

Maybe I need some specific distribution I nave Ubuntu 18.04

syatihoko commented 1 year ago

Find what need for compile: warn => error (12 string util.rs)