I should probably switch to a DB for scaling.\n\nMaybe there's some adapter thing for go that allows me to use databases interchangeably.\n\nDB tables probably looks like this.\n\ncard_id | edit_secret | more metadata for other features...\n\nand a separate table for the megabytes of encrypted data, I think that's good for performance but it should be tested.\n\ncard_id | blob\n\nThis blob could be binary data, maybe I should change the app to accept raw bytes
I should probably switch to a DB for scaling.\n\nMaybe there's some adapter thing for go that allows me to use databases interchangeably.\n\nDB tables probably looks like this.\n\ncard_id | edit_secret | more metadata for other features...\n\nand a separate table for the megabytes of encrypted data, I think that's good for performance but it should be tested.\n\ncard_id | blob\n\nThis blob could be binary data, maybe I should change the app to accept raw bytes