3 ms·
What about permanent storage? A separate managed database is needed i guess? (Just like the rest of the serverless solutions)
by netcyrax 7y ago
What about permanent storage? A separate managed database is needed i guess? (Just like the rest of the serverless solutions)
- mikkelbd 7y agoYes, that is correct. That is one of the constraints of stateless share-nothing processes. This is also described in one of the principles in "The Twelve-Factor App": https://12factor.net/processes https://12factor.net/processes. All common/permanent state must be stored in common storage for all the processes. Depending on the kind of permanent storage needed, you could use one or more of the managed databases offered by Google Cloud. Here is an overview: https://cloud.google.com/products/databases/ https://cloud.google.com/products/databases/. You could also provision another open source database yourself either in Compute Engine or Kubernetes Engine, e.g. MongoDB. There is a lot of these on Marketplace, again for example MongoDB: https://console.cloud.google.com/marketplace/details/click-to-deploy-images/mongodb https://console.cloud.google.com/marketplace/details/click-t....