构建实时网站的选项
我将构建一个基于网络的应用程序,用于控制和监视大量实时数据。想想几千个阀门、管道、泵和传感器。
请列出您将用于构建实时网站的技术堆栈,并对性能进行有根据的猜测。环境是“理想的”,所有开放标准都可用。因此不需要 IE6 等向后兼容性。请介绍当前和未来的技术。
服务器端: 数据库网络服务器 - 哪一个/组合可以轻松支持数据的实时推送?
客户端: 什么样的客户端环境(javascript 库)支持显示和更新大量实时数据?
I'm going to build an webbased application which is controlling and monitoring tons of realtime data. think about few thousand valves pipes pumps and sensors.
Please list a technology stack you would use to build a realtime website with an educated guess about performance. The environment is 'ideal' all openstandards are available. so no IE6 etc backward compatibility is needed. Current and future proof technologies please.
server side:
database web-server - which one / combination makes it easy to support real-time pushing of data?
client side:
what kind of client environment (javascript Libraries) support showing and updating tons of realtime data?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
你可以看看Goliath
You can have a look at Goliath
我建议您查看 Socket.IO ,它与 Node.JS 可能最适合处理许多持久的并发实时连接。我想说数据库的选择更多地取决于实时数据来自哪里以及如何进入数据库。
I recommend you have a look into Socket.IO which works best with Node.JS and might be the best fit for handling many long lasting concurrent real time connections. I would say that the choice of the database depends more on where your real time data is coming from and how it is supposed to get in the database.
我也是。所以我正在编写一个可以做到这一点的框架。它基于lighttpd前端和多个fcgi后端服务器。原始 Android 还使用基于它的另一个框架进行了测试。它是开源的,因此您可能想使用它作为起点。
Me too. So I'm writing a frame work that can do that. It's based on lighttpd front end, and multiple fcgi backend servers. The original Android was also tested with another framework that is based on it. It's open source so you might want to use it as a starting point.
我无法编写实时应用程序,但我已经涉足了 http://socket.io/ 和 node.js,上手很愉快。
应用程序引擎有一个 js 通道 api,看起来不错。您应该看看是否可以选择在应用程序引擎上托管。
如果您正在服务器端处理“实时”内容,我建议使用 clojure 来管理并发状态。
I haven't been able to write a realtime app, but I've dabbled a bit with http://socket.io/ and node.js, and it's a joy to get started with.
App engine has a js channel api which seems nice. You should take a look to see if hosting on app engine is a option.
If you're dealing with "real time" stuff server-side, I recommend clojure for managing concurrent state.