My new job has required I use Google's Firebase, and in particular Firestore. I've been surprised by the memory consumption of the official emulator, and wondered if I could hack together in .NET that meeds our needs. I still don't know, but this is the result so far: https://github.com/mikegoatly/FirestoreSharp

#dotnet #opensource #gcp

GitHub - mikegoatly/FirestoreSharp: An open source .NET emulator for Google Cloud Firestore

An open source .NET emulator for Google Cloud Firestore - mikegoatly/FirestoreSharp

GitHub
@mikegoatly what memory usage are we talking about with the official emulator?
@mihamarkic we use it in our local dev environments - each run of our e2e tests bloats memory usage by 3-4Gb until we restart and reseed it, which is not the end of the world, but a bit of a pain. Some devs can only allocate 6Gb to docker in total, and just using the application busts through that eventually.
@mihamarkic I think it's something to do with the way Firestore snapshots state all the time. It doesn't seem to ever reclaim old space; it's a constant ratchet up of memory until it runs out. The emulator's not open source though, so it's just a guess.