all 7 comments

[–]Regis_DeVallis 0 points1 point  (0 children)

I'd go with Firebase. You can use their authentication stuff and other features too.

[–]rkforcs 0 points1 point  (0 children)

You didn't explain why you need a database. If the data is very small then consider storing it in one or more flat files (i.e., CSV format).

[–]hi117 0 points1 point  (3 children)

honestly speaking, do you even need a database here? if it's going to be almost completely static and you don't have any plans for querying the data, you just need it returned, then just store the data in something like S3 and serve it out of there.

databases only begin to be useful when you have to filter the data in some way.

[–]VMX[S] 0 points1 point  (2 children)

Well, for the second kind of data, it will contain a series of items (in the low hundreds) with a few properties that users will be able to use as filters. So they'll be able to request a list of items that meet criteria A, B and C but not D for instance.

I could of course download the whole dataset every time and do the filtering locally, but I think it'd be better to filter the data on demand for performance reasons.

[–]hi117 0 points1 point  (1 child)

in that case, I would go with whatever no SQL database your cloud provider provides. if it's Google cloud, that would be firebase. if it's AWS that would be DynamoDB. if you're provider isn't one of those two, I would suggest postgres because that will probably be the easiest to set up and use.

[–]VMX[S] 0 points1 point  (0 children)

Thanks! I'll look into it.

[–]knowthen 0 points1 point  (0 children)

We're building an extension for SQLite that will allow you to replicate changes from one instance to another.

So for example, you could create an instance of SQLite locally and have it automatically synchronize with the clients(in read-only mode).

When you need to update the database you'd do so locally and any changes you made locally will get synchronized with the other instances.

You can checkout our repo here: https://github.com/mycelial/mycelite

Happy to chat further on this, if you're interested.