Skip to content

dhruvv1402/Redis-Client-RUST

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tokio Async Task

A demonstration of asynchronous task processing using Tokio, Rust's async runtime. This project showcases various real-world scenarios including network requests simulation, data processing, and error handling in an asynchronous context.

Features

  • Complex async task execution with varying durations
  • Simulated network requests
  • Error handling for long-running tasks
  • Concurrent task processing

Prerequisites

  • Rust (latest stable version)
  • Cargo (comes with Rust)

Running the Demo

  1. Clone the repository
  2. Navigate to the project directory
  3. Run the demo:
    cargo run

Project Structure

The main functionality is implemented in src/main.rs, demonstrating:

  • Task spawning and management
  • Error handling patterns
  • Concurrent execution with different processing times
  • Network request simulation

License

MIT

About

A minimal Redis client built in Rust using Tokio — async, fast, and lightweight.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages