8000 GitHub - puf/dblatency: Test Firebase database latency
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

puf/dblatency

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dblatency

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.

Run this

Edit on StackBlitz ⚡️

TODO

  • 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

About

Test Firebase database latency

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0