I wonder if Firebase's performance (latency, throughput) is good enough to be used real-time MMO games online.
Could someone with enough knowledge share their opinions on this?
Can Firebase be used instead of socket for real time games?
My understanding is that Firebase uses websockets for client - server communication when using client libraries. And uses SSE(server sent sockets) for server to client communication(events that act as Push) in case of REST APIs.
"Realtime backend made easy", "Fast and responsive" and "Easy setup" are the key factors why developers consider Firebase; whereas "Real-time", "Event-based communication" and "Node. js" are the primary reasons why Socket.IO is favored.
Results. As you can see RTT for Firebase is ~1500ms and for Realtime DB ~600ms.
Short answer is NO: with firebase you'll get client synchronised after a couple of 100 of milliseconds. You may also find consuming to much network traffic with would make firebase prohibitively expensive.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With