private_pub icon indicating copy to clipboard operation
private_pub copied to clipboard

Faye Node.js adapter

Open ryanb opened this issue 13 years ago • 7 comments

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.

ryanb avatar Apr 05 '11 16:04 ryanb

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.

mrrooijen avatar May 22 '11 11:05 mrrooijen

So, as of now, it doesn't work with the Node.js version of Faye? I thought it did :(

ianmurrays avatar Jun 01 '11 19:06 ianmurrays

@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 avatar Jun 29 '11 22:06 ryanb

@ryanb thanks ;)

ianmurrays avatar Jun 30 '11 01:06 ianmurrays

@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 avatar Jan 19 '12 18:01 hamin

@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!

vstabile avatar Feb 16 '12 05:02 vstabile

Is this ever going to be made? Would be nice to have this option, as I would prefer to run the nodejs server.

mrbrdo avatar Mar 11 '12 17:03 mrbrdo