console
a debugger for async rust! (by tokio-rs)
bytes
Utilities for working with bytes (by tokio-rs)
console | bytes | |
---|---|---|
20 | 4 | |
3,172 | 1,759 | |
2.4% | 1.3% | |
8.5 | 8.0 | |
7 days ago | 7 days ago | |
Rust | Rust | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
console
Posts with mentions or reviews of console.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-02-15.
-
Rust Tooling: 8 tools that will increase your productivity
tokio-console is a debugger for Rust async programs that use Tokio. To get started, add the console-subscriber crate to your project and add the following line which will initialise the subscriber and allow tokio-console to connect to it:
-
How to detect lock contention in rust?
You could try https://github.com/tokio-rs/console to debug and profile what happens with tokio tasks in your program.
-
Using Rust at a startup: A cautionary tale
The tokio-console CLI is a fun one. The console-subscriber supports shipping to a console server running elsewhere, apparently. That gives you a window into what's happening now.
-
Hey Rustaceans! Got a question? Ask here! (42/2022)!
Tokio console maybe? https://github.com/tokio-rs/console
-
use both of tracing-subscriber and tokio-soncole
If I add "console_subscriber::init()" line as https://github.com/tokio-rs/console recommends, tracing_subscriber cannot be initialized.
-
Any recommendations for profiling High performance rust code?
I'm building an HTTP load tester called pdc! I have run out of obvious (to me at least) places to look for performance gains. I'm achieving around 45,000 requests per second, per core. Right now I'm using hyper with a separate tokio runtime (in current thread mode) running on each core. So far having runtime on each core/NUMA node has really helped with cache coherency. Any recommendations for profiling beyond tokio console or tokio metrics (Convenient timing amirite!)?
-
Announcing `tracing` 0.1.30 with experimental `valuable`support!
It was just an accident and has been fixed https://github.com/tokio-rs/console/issues/270.
-
[Question] Is Tokio a poor fit for non-network related concurrent applications?
P.S. Tokio [now also has Tokio Console](https://github.com/tokio-rs/console) allowing you to conveniently troubleshoot your tasks if they are causing issues :)
-
How do I profile a Rust web application in production?
You can opt-in to async runtime such as tokio, and you can use tokio-rs/console for it's top-like metric
- `tokio::spawn` to handle `actix` message doesn't wait?
bytes
Posts with mentions or reviews of bytes.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-09-08.
-
Bytes
Many Rust code examples I come across online represent bytes as &[u8] or Vec. However, there is a Bytes crate. Is there any reason for preferring the vector or the slice instead of this crate for bytes?
-
How do I give up ownership when passing to a different thread without using clone?
Take a look at the Bytes crate. With it, one can buffer bytes into a BufMut, and send borrowed slices as Bytes. Once the Bytes are freed, the BufMut takes care of reusing the capacity. Several of the web server frameworks use this, so it's fairly mature.
-
Tokio Console Dev Diary #1
The project is led by the Tokio community — most of the implementation so far has been done by people who are Tokio project maintainers. Tokio hosts a number of libraries that aren't tightly coupled to the tokio crate's runtime, like prost and bytes. The name just means that the same group of people is committed to working on and maintaining it. :)
-
Why can’t unsafe code trust safe code?
Oh an libraries (or the std library) that want to write unsafe code that relies on some Trait's invariant will mark that trait `unsafe`, for example: https://github.com/tokio-rs/bytes/pull/432
What are some alternatives?
When comparing console and bytes you can also consider the following projects:
mirage - MirageOS is a library operating system that constructs unikernels
prost - PROST! a Protocol Buffers implementation for the Rust Language
tracing - Application level tracing for Rust.
text - Haskell library for space- and time-efficient operations over Unicode text.
loom - Concurrency permutation testing tool for Rust.
evcxr
delve - Delve is a debugger for the Go programming language.
pdc
ferros - A Rust-based userland which also adds compile-time assurances to seL4 development.
tokio - A runtime for writing reliable asynchronous applications with Rust. Provides I/O, networking, scheduling, timers, ...
crusty-core - A small library for building fast and highly customizable web crawlers