#persistence #records #back-end #store #run-time #recording #async

async-recorder

Store records without waiting for your persistence backend

5 unstable releases

0.3.1 May 4, 2023
0.3.0 Apr 30, 2023
0.2.0 Apr 28, 2023
0.1.2 Apr 28, 2023
0.1.1 Apr 27, 2023

#755 in Asynchronous

Download history 435/week @ 2024-07-19 202/week @ 2024-07-26 101/week @ 2024-08-02 184/week @ 2024-08-09 118/week @ 2024-08-16 72/week @ 2024-08-23 83/week @ 2024-08-30 64/week @ 2024-09-06 49/week @ 2024-09-13 116/week @ 2024-09-20 135/week @ 2024-09-27 224/week @ 2024-10-04 121/week @ 2024-10-11 132/week @ 2024-10-18 62/week @ 2024-10-25 85/week @ 2024-11-01

426 downloads per month

MIT license

12KB
147 lines

Async Recorder

Docs Licence Crates.io

Store records without waiting for your persistence backend. Load records without blocking writes.

A Rust crate for asynchronously recording events (or any other thing) with your persistence backend in a "fire and forget" manner. This crate uses the tokio runtime for spawning and joining green threads. As such it does not work with other asynchronous runtimes, such as async-std.

Dependencies

~2.3–8MB
~64K SLoC