Iβve been quietly building something the Rust ecosystem has been missing. π¦β‘
Most Rust job queues either force you into Redis, pollute idle CPU with polling, or make transactional enqueueing a nightmare.
So I built azums π¦β‘
A lightweight, zero-overhead background job engine that runs everywhere from single-binary SQLite CLI tools to Postgres cloud backends.
Key specs: β’ Sub-ms wake-up time β’ 0.0% idle CPU usage β’ Native web extractors (queue: JobQueue in Axum/Actix) β’ Durable event streams & DLQ built-in β’
Introducing azums: an enterprise-grade, transactional background job queue & streaming framework built for Rust.
π Single API for Postgres, SQLite, Redis, & In-Memory β‘ Zero idle CPU (LISTEN/NOTIFY + PubSub) π Transactional enqueueing (Zero dual-write risk) π¦ Native extractors for Axum, Actix, Poem, & Rocket π Up to 380k jobs/sec
From embedded SQLite tools to multi-node K8s clusters, zero code changes required.
π¦ https://t.co/7wvZeM02e7: https://t.co/UT0qMv25Jpπ οΈ GitHub: https://t.co/M0pm5YQhTuβ¦π Benchmarks: https://t.co/OzWwiJcQEY
Docs are sitting at ~30% right now, but the engine is live and fully benchmarked. Would love your feedback & stars! π
To read more about the project
https://t.co/aTI9t6KUm9
A closure Does two things capture and call.
A closure can own a name from its environment but the body only does reading.
Therefore:
move closure
β
FnOnce closure
This topic my friends is very subtle,
When did this make sense to you, As a Rust Dev.
#rust#closure#move
Why can threads share data through a Mutex or even directly through unsafe(Rust) but separate processes canβt share memory the same way?
And is something like Redis basically the bridge here: a separate process that every other process can read from and write to, almost like shared state between threads?
Why can threads share data through a Mutex or even directly through unsafe(Rust) but separate processes canβt share memory the same way?
And is something like Redis basically the bridge here: a separate process that every other process can read from and write to, almost like shared state between threads?
Why can threads share data through a Mutex or even directly through unsafe(Rust) but separate processes canβt share memory the same way?
And is something like Redis basically the bridge here: a separate process that every other process can read from and write to, almost like shared state between threads?
Why can threads share data through a Mutex or even directly through unsafe(Rust) but separate processes canβt share memory the same way?
And is something like Redis basically the bridge here: a separate process that every other process can read from and write to, almost like shared state between threads?
Why can threads share data through a Mutex or even directly through unsafe but separate processes canβt share memory the same way?
And is something like Redis basically the bridge here: a separate process that every other process can read from and write to, almost like shared state between threads?
Why can threads share data through a Mutex or even directly through unsafe but separate processes canβt share memory the same way?
And is something like Redis basically the bridge here: a separate process that every other process can read from and write to, almost like shared state between threads?
#[tokio::main]
#[test]
this attributes abstract alot of work for us.
e,g without #[tokio::main]
you need to manually
create runtime
create scheduler
initialize runtime
enter runtime
run async future
wait for completion
shutdown runtime
helping you focus on the task at hand..
#[tokio::main]
#[test]
this attributes abstract alot of work for us.
e,g without #[tokio::main]
you need to manually
create runtime
create scheduler
initialize runtime
enter runtime
run async future
wait for completion
shutdown runtime
helping you focus on the task at hand.
#[tokio::main]
#[test]
this attributes abstract alot of work for us.
e,g without #[tokio::main]
you need to manually
create runtime
create scheduler
initialize runtime
enter runtime
run async future
wait for completion
shutdown runtime
helping you focus on the task at hand
#[tokio::main]
#[test]
this attributes abstract alot of work for us.
e,g without #[tokio::main]
you need to manually
create runtime
create scheduler
initialize runtime
enter runtime
run async future
wait for completion
shutdown runtime
helping you focus on the task at hand
@ardent__dev Use case and what your application will do , determines which DB to use, nothing like this is better than the other, postgress is good in some use case, and so is other db