Skip to content

Examples of interprocess communication with python and Redis. Both custom-implementation and using RQ

License

Notifications You must be signed in to change notification settings

vellamike/redis-interproces

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A simple demonstration of how to use Redis lists for interprocess communication. In this example the producer and consumer processes are spun up from the same script using Python's multiprocessing module, however processes written in a different language or run in a different manner would work in exactly the same way.

Installation

  1. Get and compile redis
wget http://download.redis.io/redis-stable.tar.gz
tar xvzf redis-stable.tar.gz
cd redis-stable
make
  1. (Optional) run tests
make test
  1. (Optional) install - binaries are in src if you don't want to do this
make install
  1. Install python's Redis bindings
sudo pip install redis

About

Examples of interprocess communication with python and Redis. Both custom-implementation and using RQ

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages