开发者

Rails 3: Show Real-Time Data to User from Node.js/MongoDB

I have a Rails web app that shows data to user开发者_StackOverflow社区, however, that data is not being shown in real-time even though a node.js server is adding the data in real-time to a cloud database that the Rails app has access.

How can I show the data in Rails, from the database, as soon as it arrives?

Thanks


How can I show the data in Rails, from the database, as soon as it arrives?

How about doing it the other way: as soon as your data arrives and are stored in DB, you can send them to clients through socket.io established connection for example.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜