Skip to content

This is a sample app for python Redis pub/sub with FastAPI as pub.

Notifications You must be signed in to change notification settings

jeremyleonardo/python-redis-pub-sub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python Redis Pub/Sub

This is a sample app for python Redis pub/sub with FastAPI as pub.

Something to reconsider before using redis pub/sub with multiple sub workers :

You might need load balancer for multiple worker/instance of subscriber because multiple instance of the same subscriber will all consume the message.

Run

Build and start the services:

docker-compose build
docker-compose up

About

This is a sample app for python Redis pub/sub with FastAPI as pub.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published