# Kir Shatrov - Designing Job Queue in Redis (Highlights)

## Metadata
**Cover**:: https://readwise-assets.s3.amazonaws.com/static/images/article2.74d541386bbf.png
**Source**:: #from/readwise
**Zettel**:: #zettel/fleeting
**Status**:: #x
**Authors**:: [[Kir Shatrov]]
**Full Title**:: Designing Job Queue in Redis
**Category**:: #articles #readwise/articles
**Category Icon**:: 📰
**URL**:: [kirshatrov.com](http://kirshatrov.com/2018/07/20/redis-job-queue/)
**Host**:: [[kirshatrov.com]]
**Highlighted**:: [[2021-02-12]]
**Created**:: [[2022-09-26]]
## Highlights
- I stumbled upon a Redis library for Clojure which is called carmine.
https://github.com/ptaoussanis/carmine
- I was surprised to see that it has built-in message queue implementation. It’s only about 300 LOC and one file
https://github.com/ptaoussanis/carmine/blob/master/src/taoensso/carmine/message_queue.clj
- RPOPLPUSH carmine:mq:low:messages carmine:mq:low:messages # move the job from the head to tail within the same list, return <job id>
- Celery, job queue framework in Python. Has lots of interesting features that we (again) miss in Ruby.