This is a sample using redis pub-sub on rails.
- When you open the SUBSCRIBE URL page, you subscribe to a channel called "redis"
- Open the PUBLUSH URL page, write a message and click the Send button.
- you can check the message sent by PUBLUSH.
- SUBSCRIBE URL : http://localhost:3000/
- PUBLISH URL : http://localhost:3000/redis_pub/new