Settings

Theme

Show HN: List and demo of 20 costless serverless databases

free-databases.vercel.app

7 points by Elzear 3 years ago · 5 comments

Reader

amacalac 3 years ago

Bit.io has been acquired and is no longer available. It’s being shuttered quickly by its new owners.

quickthrower2 3 years ago

If cookies are mentioned then should mention: file save api, indexdb, local storage.

Also another way is to integrate with dropbox, onedrive, google drive etc. There is also an open source project called remotestorage but traction seems low.

  • quickthrower2 3 years ago

    Vercel:You can also get up to some tricks using fetch caching and ISR to get a little free storage for “cache-like” things. Stuff you got from APIs for example. It is very limited but can be useful.

    • ElzearOP 3 years ago

      Funny, I actually tried finding tricks exploiting the cache from Vercel, but it didn't work. Initially I thought I could find a way to use it to share data across users, but nothing worked. Do you have any links to resources that could help getting a datastore from the Vercel cache?

      I will try adding things you mentioned, and I'd love to find way to also have stupidly complex/convoluted storage systems, inspired by tom7's harder drives: https://www.youtube.com/watch?v=JcJSW7Rprio

      • quickthrower2 3 years ago

        My example is very simple. I am pretty much using it as a cache I guess.

        Firstly there is an external product feed API that returns JSON.

        In a single file I have an async function fetch from it and do some transformations.

        In various pages (and I am using the new App Router so this might be different) I just call the function from an async React component and then use that data to do server-side generation.

        The catch is that it is limited to 2Mb calls for caching. Otherwise the fetch works but they don't cache it. I am going to experiment to see if I can just store the data in memory globally.

        This may not be a great approach for data provided by users. And it is a cache, so the data can be lost of course. Since in my case I can go back to the API it is of no concern.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection