This page compares the client-to-client latency between the two databases that are part of Firebase: Realtime Database and Firestore.
When you click the Send ping the client write a message to a fixed path in RTDB and to a fixed document in Firestore.
It measures how long it takes for the write to complete and shows that in the tables.
- Allow a client to have a nickname, a region, IP (?), user-agent and more
- Store results permanently in DB (after requesting permission)
- Lookup geolocation (or IP) and store (if enabled) (after requesting permission)
- Allow the user to opt-in to logging their latencies to the databases
- Allow the user to opt-in to auto-testing, meaning we re-run the tests every minute
- Show the last latency, and the average and variance (for past 30m)
- Store ID, auto-measure and logging opt-ins in cookie