AppEngine Channel API 的 Amazon EC2 等效项是什么?
如果有的话。 IE。如果有一些东西只是大致相似,如果您能描述一下它们的局限性和差异,我将不胜感激。
If any. I. e. if there is something that is only roughly similar, I would appreciate if you could characterize what are the limitations and differences.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我认为最接近的是 Amazon 的简单通知服务,它提供了与 Google AppEngine 的 Channel API 相同的一些特征。这里最大的缺点是缺乏 JavaScript 库来从浏览器中利用它。有人询问有关 JavaScript 支持的问题,但没有得到答案。
另一种选择是使用 WebSocket 和/或 Comet 支持如 Glassfish。您不会获得亚马逊提供的基础设施,但仍然是一个可行的解决方案。
I think the closest you get is Amazon's Simple Notification Service which offers some of the same characteristics of Google AppEngine's Channel API. The big minus here is the lack of JavaScript library to utilize this from a browser. Someone asked about JavaScript support, but didn't get an answer.
One other option would be to deploy a server with WebSocket and/or Comet support like Glassfish. You will not get infrastructure provided by Amazon, but still is a viable solution.
SNS 似乎不是正确的解决方案。正确的解决方案是(或者如果尚不支持)SQS 提供 HTTP API 来从队列中选取对象。
SNS does not seem to be the right solution. The right solution is, or would be if it doesn't yet support it, for SQS to provide an HTTP API to pick objects off a queue.