7
submitted 3 years ago* (last edited 3 years ago) by nothingness@lemmy.world to c/rust@lemmy.ml

Is there any library for the queueing mechanism?

What's used by the most - Cron? But a task or rather script executed by Cron won't access to the context of an application. Meaning, a task will have be an independent unit. Whereas I want is a library to use inside a project such that it'll have access to everything.

Anything similar to Sidekiq exist in Rust?

you are viewing a single comment's thread
view the rest of the comments
[-] SuddenlyBlowGreen@lemmy.world 1 points 3 years ago* (last edited 3 years ago)

You could schedule a task at 1 PM, then generate a random number between 0-60 inside that task, wait that many minutes, then launch the actual task.

this post was submitted on 18 Sep 2023
7 points (73.3% liked)

Rust Programming

9435 readers
1 users here now

founded 7 years ago
MODERATORS