Redis-pipe
Dev tools
command line pipe utility
SHOW HN2015
49points
10comments
#574of 2,565 in 2015
Top 23%of 2015 by points
How HN took it
MixedNo clear lean
2 positive, 2 neutral or asking, 0 mixed, 1 critical, out of 5 comments about the project. Thread score 0.00.
Design: 1 for, 1 againstIdea: 1 for, 0 against
The thread, comment by comment
Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.
positive neutral or mixed critical about another commenter or something else the maker
What HN said
What people liked
Useful as a simple job queue or logging pipe
From 2 comments
I use it as a poor man's job queue. cat jobs.txt | redis-pipe jobs An then on several workers: redis-pipe --count 10 jobs | python do-work.py | redis-pipe results An then in the…
morgenkaffee on HNI guess it might be very useful in a cloud like environment where you use this set up to pipe data across scaled up servers.
bytesandbots on HN
Objections
Uses LPUSH/LPOP so only one consumer gets each message, not pub/sub
From 1 comment
Why are you using LPUSH/LPOP instead of PUBLISH/PSUBSCRIBE? I guess you get storage that way, but only one consumer of each message. It would be nice if it was optional in case…
nissimk on HN
Requests
Add --publish and --subscribe flags for multiple subscribers
From 1 comment
Yes you're right. I can create a flag --publish and --subscribe.
morgenkaffee on HN
Questions
Why use Redis instead of Unix pipes?
From 1 comment
What's the benefit to use Redis pipe instead of Unix pipes?
waitingkuo on HN
Alternatives named
rp, a Redis pub/sub pipe tool
From 1 comment
See this for more inspiration (using pub/sub): https://github.com/whee/rp
fprotthetarball on HN
Celery with Redis backend
From 1 comment
Poor man's job queue is celery with redis backend i guess.
eddd on HN