I have asked a similar question about millions of points a few days ago:Display millions of points in the browser.
It focused on how to display these data in the client(browser), however I think it is still a big challenge to save the in the server side.
For example for a device like a truck, which will send its location to the server every 60 seconds(not short for trucks), and suppose the truck just work 15 hours one day, so there will be 15 * 60 = 900 records one day.
And if there are 100 trucks in the system, there will be
900 * 100 * 30 = 2700000 = 2.7 million points one month. Though we can reduce the points by removing the repeat points, but this can not take a explicit effect.
Now we use mongodb to save these points, however the storage size increase rapidly.
I wonder how do you handle this kind of use case?