hyperswitch
tokio
hyperswitch | tokio | |
---|---|---|
1 | 202 | |
- | 26,336 | |
- | 1.5% | |
- | 9.5 | |
- | 2 days ago | |
Rust | ||
- | MIT License |
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.
hyperswitch
tokio
-
Why Rig? 5 Compelling Reasons to Use Rig for Your Next LLM Project
Concurrent Processing: We're able to handle multiple tasks or LLM requests that run concurrently by leveraging Rust's async capabilities and Tokio runtime to significantly speed up batch operations.
-
Rust vs Go? Which should you choose in 2024
In the code above, the execute_task function simulates a task that takes some time to complete. The Rust Tokio runtime manages the main function's execution without blocking the thread, allowing other asynchronous tasks to proceed concurrently. The main function then waits for the task to finish before printing a completion message.
-
Setting Up a Simple TCP Server
In this tutorial, you'll start the journey towards building Nimblecache (Redis clone) by first creating a simple TCP server using Tokio, a powerful asynchronous runtime for the Rust programming language. By the end of this tutorial, you will have a basic understanding of how to handle TCP connections and manage asynchronous tasks using Tokio. Let's dive in!
-
Total Madness #2: Async Locks
Obs: For the curious non-Rust people, tokio is an async runtime for Rust, in other words, it's like our Executor, only much more powerful and well-written.
-
Combining Node.js with Async Rust for remarkable performance
A high-performance runtime, with a multi-threaded, asynchronous event loop written in Rust (using Tokio and Hyper).
-
eBPF, sidecars, and the future of the service mesh
Our choice of Rust as the programming language in 2018 was a calculated risk. Rust offers the best of both worlds: the speed and control of languages like C/C++ and the safety and ease of use of languages with runtime environments like Go. Rust and its network library ecosystem were still relatively young at that time. We invested significantly in underlying libraries like Tokio, Tower, and H2 to build the necessary infrastructure.
-
On Implementation of Distributed Protocols
Being able to control nondeterminism is particularly useful for testing and debugging. This allows creating reproducible test environments, as well as discrete-event simulation for faster-than-real-time simulation of time delays. For example, Cardano uses a simulation environment for the IO monad that closely follows core Haskell packages; Sui has a simulator based on madsim that provides an API-compatible replacement for the Tokio runtime and intercepts various POSIX API calls in order to enforce determinism. Both allow running the same code in production as in the simulator for testing.
-
I pre-released my project "json-responder" written in Rust
tokio / hyper / toml / serde / serde_json / json5 / console
-
Cryptoflow: Building a secure and scalable system with Axum and SvelteKit - Part 0
tokio - An asynchronous runtime for Rust
-
Top 10 Rusty Repositories for you to start your Open Source Journey
3. Tokio
What are some alternatives?
actix - Actor framework for Rust.
async-std - Async version of the Rust standard library
this-week-in-rust - Data for this-week-in-rust.org
Rocket - A web framework for Rust.
Servo - Servo, the embeddable, independent, memory-safe, modular, parallel web rendering engine
hyper - An HTTP library for Rust
futures-rs - Zero-cost asynchronous programming in Rust
smol - A small and fast async runtime for Rust
actix-web - Actix Web is a powerful, pragmatic, and extremely fast web framework for Rust.
rayon - Rayon: A data parallelism library for Rust
crossbeam - Tools for concurrent programming in Rust
glommio - Glommio is a thread-per-core crate that makes writing highly parallel asynchronous applications in a thread-per-core architecture easier for rustaceans.