flow-emulator
flow-emulator copied to clipboard
Support non-local databases
Instructions
Issue To Be Solved
Currently, the Badger is only supported as an DB and all the data are written to the local disk. To use this emulator as a development network, in my company, we are planning to deploy this emulator and the dev wallet to the GKE cluster.
But since the Badger makes the workload stateful, we need to create a Statefulset with persistence volume to store the data. It will make it easier to manage if the emulator can run in stateless manner because Kubernetes workloads are basically designed as stateless.
(Optional): Suggest A Solution
I saw this article Supporting digital ownership and decentralization with Dapper Labs and Google Cloud saying that the Dapper, inc has now partnerships with GCP.
Therefore, I think the best candidate will be Cloud Firestore, a NoSQL database from GCP. I also considered Cloud Spanner but it's not KVS and it's quite expensive 💵
I like this feature but I can't promise you a delivery date from our side. Hopefully, we can work on this soon, but you are also welcome to take a stab at it if you have the resources ofc. I hope you understand.
Hi, I didn't intend to assign someone for this, I wanted to know the communities and the maintainers opinion and opened a ticket. Thank you for your reply!
I think here redis compatible storage can be good solution. So it can be cross-vendor.
I think we can close this as now we support redis backend.