Crates.io | async-task-executor |
lib.rs | async-task-executor |
version | 0.1.2 |
source | src |
created_at | 2023-05-05 05:32:47.147411 |
updated_at | 2023-05-05 05:32:47.147411 |
description | A lightweight Rust library for building extensible asynchronous task executors, designed for handling large-scale multitasking in server environments. |
homepage | |
repository | https://github.com/geminik23/async-task-executor |
max_upload_size | |
id | 857305 |
size | 27,103 |
This project is currently in active development and is not yet ready for production use.
A lightweight Rust library for building extensible asynchronous task executors, designed for handling large-scale multitasking in server environments.
Base Task Executor
Trait SharedData to access the sharable data in different thread.
TaskHandler : takes a message(String type) and return the result (String) - ?use DeserializeOwned?
Implement the TaskMessage and Response
Implement the TaskExecutor with TaskHandler
more generic approach using serde::Serialize
and serde::de::DeserializeOwned
traits
Add a communication layers to allow clients to send task and receive responses : RESTFul API, a gRPC, a WebSocket server
Implement a communication layer: Develop a communication layer to allow clients to send task messages to the server and receive responses.
Improve the error handling and logging.
Enhance the 'authorize' method.
This project is licensed under the MIT License - see the LICENSE file for details.