private_pub
private_pub copied to clipboard
Faye Node.js adapter
It would be nice to support the Node.js adapter in Faye as well. I should provide a custom extension one can use with that. Or at least an example on the wiki.
Sounds good. I think Node.js will be able to handle a lot more async/concurrent requests compared to Ruby since that's what it was built for.
So, as of now, it doesn't work with the Node.js version of Faye? I thought it did :(
@ianmurrays you can still use the Rails portion of private_pub, it's just that it doesn't come with a Faye extension for Node.js. You'll have to rebuild that portion to match what is in the Ruby/Rack version.
@ryanb thanks ;)
@ryanb I've used Faye in production for a bunch of projects and love it :) I've used the Node.js servers instead of the Ruby servers. If all you need is a Node.js server in with the Faye extensions that you have in your Ruby version, I can happily submit a pull-request. Just now sure where exact you would want it to live. I'm assuming in 'private_pub / lib / generators / private_pub / templates / private_pub.js' ? Let me know, would love to help.
@hamin your node.js server with those faye extensions would be helpful. If you're not pulling it here, I would be really grateful if you share it in another repo, just let us know. Thanks!
Is this ever going to be made? Would be nice to have this option, as I would prefer to run the nodejs server.