Hacker News new | past | comments | ask | show | jobs | submit login

What's the benefit to use Redis pipe instead of Unix pipes?



I guess it might be very useful in a cloud like environment where you use this set up to pipe data across scaled up servers.


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 end: redis-pipe results > results.txt

Or you can use it as simple logging mechanism: tail -f /var/log/syslog | ./redis-pipe logs


Poor man's job queue is celery with redis backend i guess.


Mine is even more poor :)




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: