I have a project where I need to get a large number of data into a slice.
The data would be IMDB type graph db. Movies and actors are nodes. Movie<->Actor would be an edge.
The data would be read-only. No writing required.
I realize the best way to do this would just be to use a database and then read them into the go app at launch. However, I’d really like to do all of this in a Google App Engine type scenario and not require a server or something to house the DB.
My questions are:
- How do you all deal with large files? I find VS Code locks up if I have HUGE golang files.
- Are there any Go native databases that you’d recommend? I found Dagger. But looks like I’d still need to read the data into it. It is 100% memory resident.
- Really any advice from your experience, reading large amounts of data into a slice would be valued.
I realize this is a strange question that makes me sound like a noob programmer. I’m just trying to think outside the box here to keep a project as inexpensive to host, with very responsive searches, as possible.
Thank you!