Skip to content
An example async job runner, which synchronizes via redis
Rust
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.gitignore
Cargo.toml
LICENSE
README.md
rustfmt.toml

README.md

job-runner-example-rust

An example async job runner, which synchronizes via redis.

Run Example

Start Redis via Docker

sudo docker run -p 6379:6379 redis:5.0

Start Postgres Server via Docker

sudo docker run -p 5432:5432 -d postgres:9.6

Start Server

cargo run

Then go to http://localhost:3000/ to test if the web server works. In the log you should see log output of the running jobs.

You can also start another instance (change the port) and check, that the jobs are only run once, synchronized via redis.

You can’t perform that action at this time.