What kind of db/storage do I need?

I am trying to make an app but I am confuse by all the DB options and idk what is the best option for me. I am making a public bus tracking app for a city. There is a public API I am able to use to get the current location of all the buses in the city. So, I wanted scape that API every few seconds and store that data so I can track the performance of the buses over time and see when they are usually late/full/early, etc. the API returns the live GPS and the passenger count as well as some extra info. I ran the scraper for a couple days and it looks like the raw json (without cleaning it up for formatting it correctly) results in about 1gb/week. I can easily bring that down to 800mb/week. what do you think would be the best way to store, access this data? I am currently planning on using pocketbase but I don't know if thats the best option.
4 Replies
Matvey
Matvey9mo ago
Just rent a virtual server and put postgres on it.
Bean
Bean9mo ago
Is there a reason for using postgress instead of other options?
Matvey
Matvey9mo ago
It's the one of the most performat databases when you work with lots of data and complex queries, also with Postgires you can add PostGIS extension to store GPS data. But if you prefer something like MySQL or MariaDB, you can use them as well, they are all good
Bean
Bean9mo ago
Good to know
Want results from more Discord servers?
Add your server
More Posts
Web Framework Suggestions! (Senior project)Looking for web framework recommendations on a big upcoming group project. Main requirement is it haCreating internal tools for company usageHi, I would like to develop a tool that will only be used by people at my company. I have looked evezustand + next trpc/client. With slightly more complex feature. Vanilla client?The problem i'm having is that trpc are hooks and not async functions that i can call in my zustand deep questions t3 prisma client doesn’t seem to updateMy prisms client doesn’t seem to show the array relationships which are present in the prisms schemaWhat is a solution for inserted html with styling that overrides it's enclosure?I have a NextJS app where I receive emails in HTML. Most of the time, they have a custom style, thesNext.js AppRouter: not a valid export fieldI've hit a wall when trying to add my own exports in a `route.ts`, side to side with `GET`, `POST`, First component with DaisyUI and Nextjs gives runtime errorNew to nextjs 13. Have only been using Nextjs 12 and less in production. Initialized a nextjs 13 fortype errors even after disabling```json 22:32 Error: Unsafe assignment of an `any` value. @typescript-eslint/no-unsafe-assignment Error: <rejected> TypeError: Body is unusableI am using the server api utapi for file upload. Even though file uploading and deleting work just fUnable to retrieve application context. Did you forget to wrap your App inside `withTRPC` HoC?Hey, noob question but am not sure how to deal with it. I recently added tRPC to my existing project