简体   繁体   中英

Should I use node.js + express or Rails + Juggernaut to build a chat room?

I'm trying to build a chatroom in the conventional sense to operate in the browser but with a decent API layer allowing for decent abstraction between the server and the client.

I want to keep it SIMPLE, but still have room to develop extra functionality going forwards, such as saving transcripts in the database.

You could consider leveraging Faye which is built on top of Node.js and I believe has WebSockets support too. Possibly route all transcripts with Redis storage.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM