Subject: [mongodb-user] mongodb design for high traffic gps
tracker software



hi
I am new to mongodb.my app: gps are install on cars and send geography data(long, lat) data  to server every 20 second. I want to use mongodb for this.my plan is to create collection vehicle and store data like this:
{"gps_id":"67828872","fullname":"james","data": [ {"lon":11.53144, "lat":48.1567, "speed":20, "time"""}, {"lon":11.53125, "lat":48.15672, "speed":50 , "time"""} ... // additional track information ]}
by doing this I have history of taxi location for every day of year.
my queries are 1- get line of where how taxi go between two time by getting data of lon and lat for requested time period2- show live location of taxi on web browser and mobile app, by query last data inserted to db(biggest time field)
Am I doing it correctly??

--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.
 
For other MongoDB technical support options, see: https://docs.mongodb.com/manual/support/
---
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/mongodb-user.
To view this discussion on the web visit
?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/mongodb-user/9fd7fbf7-3f51-4e59-a2b3-ed1e6e5cc3e6%40googlegroups.com
.
For more options, visit https://groups.google.com/d/optout.



Programming list archiving by: Enterprise Git Hosting