lmstfy(pronounce /'lam.si.fai/) is a simple task queue (or job queue) service, providing the following features:
basic job queue primitives: PUBLISH, CONSUME and DELETE via HTTP API
support extra lifecycle management of jobs:
job TTL (time-to-live)
job delay trigger (at second granularity)
job auto-retry
dead letter
namespace/queue level metrics
token consume/produce rate limit
lmstfy itself doesn't handle data storage, it delegates the storage to the Redis or Redis Sentinel currently (a file based
storage backend is under implementing). So data integrity and durability is in the hand of redis,
we use AOF and replication on our production env to ensure that.
# to build the server binary, the target file would be inside _build dir
$ make
# setup redis server
$ redis-server &
# run the lmstfy server
$ ./_build/lmstfy-server -c config/demo-conf.toml
You can use ./scripts/token-cli to manage the namespace and token