Use cases vary with your app need, but the Halfbrick (fruit ninja etc) case study might help: https://firebase.google.com/downloads/Halfbrick_Case_Study.p... - we worked with them during the alpha testing and I think their approach will work for a lot of apps.