Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is Firebase's latency low enough to be used for realtime MMOG instead of socket?

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?

like image 618
Joon Avatar asked Jun 20 '16 19:06

Joon


People also ask

Does Firebase realtime database use sockets?

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.

Which is better socket or Firebase?

"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.

What is the latency of Firebase?

Results. As you can see RTT for Firebase is ~1500ms and for Realtime DB ~600ms.


1 Answers

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.

like image 84
Seb Avatar answered Sep 28 '22 02:09

Seb