Thu Vo
03/28/2025, 3:41 AMJason Bosco
03/28/2025, 4:27 AMThu Vo
03/28/2025, 4:44 AMCloud Run is that it uses ephemeral containers that can spin down and up
I just want to check if my understanding is correct that when Cloud Run spins down, only the memory is lost. When it spins back up, are we still able to mount the existing volume (in case we use filesystem volumes), then restoring/creating the memory again. Does it still an issue in that case?
• Also Typesense stores a backup of the raw data on a filesystem. GCS is block storage and so it's not possible to use GCS as the storage layer
-> oohhh okay I see so basically we need a something like filesystem storage as a volume.Thu Vo
04/01/2025, 1:38 AMJason Bosco
04/01/2025, 5:39 AMoohhh okay I see so basically we need a something like filesystem storage as a volume.That's correct.
When it spins back up, are we still able to mount the existing volume (in case we use filesystem volumes), then restoring/creating the memory again.Yeah, that's fine. But Typesense will have to re-build the in-memory indices again. Depending on your index size this might take some time and won't be instantaneous. So your cold start times will be high
Thu Vo
04/02/2025, 3:40 AMYeah, that's fine. But Typesense will have to re-build the in-memory indices again.because we're following blue/green strategy, so we need to find somehow identity in-memory indices is done
Jason Bosco
04/02/2025, 2:27 PM