private_pub
private_pub copied to clipboard
Added Support for Redis Engine
When developer creates a private_pub_redis.yml under config's directory, private_pub will create Faye server with redis engine configuration. I have tested and it works.
There are a few things left to do: Check that developers do not specify both host/port and unix socket for redis in the config. Using a more recent release of Faye gem. The most up to date Faye gem has removed dependency to thin (now only in dev env). I have not tested against that version of Faye thus fixed the faye version to what I have been using in gemspec.
+1
I know I am slightly late to the party but I would still appreciate some help. I am using private_pub in my application but I have noticed that after about 60-100 users concurrently using it, it slows noticably down. (delayes go up to 1-2 secs). So I wanted to see if switching to redis and multiple thin servers would cure this.
I managed to install zlu's branch but I am not sure how I can use multiple thin servers to serve faye? In the config there is only port 9292?
Thanks for your help.