如何在 MongoDB 中以异步方式检索基于推送的通知的信息
我们正在构建一项服务,可以找到移动用户一定半径内感兴趣的位置(例如咖啡馆、餐馆、医院)。位置特定信息存储在 MongoDB 中,因此我们可以获取特定半径内的所有所需位置。
假设我们的应用程序不断了解用户位置,是否有一种机制可以将感兴趣的适当位置推送到目标移动设备?
MongoDB 是否提供任何支持来连续执行异步操作,或者这应该是特定于应用程序的,它实际从 MongoDB 检索相关信息并将此信息推送到移动设备。
目前有哪些推送机制能力,可以根据他的位置以异步方式推送数据到移动设备
We are building a service that finds locations of interest (e.g. cafe's, restaurants, hospitals) within a certain radius of a mobile user. Location specific information is stored in MongoDB, so it would be possible for us to fetch all desired locations within a certain radius.
Assuming our application constantly knows about the user location, is there a mechanism to push appropriate locations of interest to the target mobile device?
Does MongoDB provide any support to perform async operations on a continuous basis or should this be application specific which actually retrieves relevant information from MongoDB and pushes this information to the mobile device.
What kind of push mechanism capabilities are currently available, which can push data in a asynchronous fashion to the mobile device based on his location
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我在 MongoDB 中没有找到这样的东西,但你可以使用 BlazeDS 或 ActiveMQ 连接器。
I didn't found such thing in MongoDB but you can do using BlazeDS or ActiveMQ connectors.