zlu

A Couple Things to Watch Out For Using PrivatePub

02-12-2012

Private Pub is a convinent gem wraps around Faye.

There are a few things to consider when using PrivatePub.

  1. It does not support ssl. However, there is a pull request for it.

  2. You almost always want to add some sort of filtering on the server or client side, or maybe both. For example, if you don’t want your chat message to be received by everyone logged in, you will need to publish to a channel uniquely identified by each session of the chat.

UPDATE @rbates has merged this pull request. I was able to verify ssl support indeed works!