I'm developing an app that allows to track a mobile device instantly (live) ... I need an of advice. The application must send the location to a webservice that in it's turn records the received data in a database.
What would be, in your opinion, the best way to store the location values?
I'm new in using bigdata and I'm afraid that simple sql requests wont be able to do the work properly ... I imagine if there is lot of users and each user send a request each 1sec I'll have issue with the database ...
An advice ? Thank you very much
答案 0 :(得分:1)
i think you could have a look into the geospatial queries in mongo, if you chose to go ahead with mongodb.
Refer here
And here
for the design of the database would depend on the nature of the query (essentially the read and write).
Worth having a look into
答案 1 :(得分:1)
在Cintric工作,我们开始使用elasticsearch。我们实时处理数十亿个位置点,并为用户提供高级分析。
我们从mongoDB开始,遇到了很多麻烦,最终导致了一次痛苦的迁移。
我们的堆栈目前有移动设备转储位置更新到AWS Kinesis,然后由AWS Lambda处理程序处理,然后转储到elasticsearch。我们能够以每月几百美元的价格每月服务,处理和存储3亿个请求。我们的信息中心的分析会增加额外费用,但根据您的需求,我强烈建议您在AWS上查看您的选项。