For real-time aspects, have a look at PubNub: lots of features, very low latency, many global data centers, SDKs for every language/platform, good docs and support. You can easily replace FireBase with PubNub (I did on a project and results were positive). Really depends on what real-time needs you have (simple data synching or more complex persistence requirements).