Comments (1)
Saw your extension, as I thought about making something like this myself! But I'll just drop some of my architectural thoughts as ideas here.
Regarding the first open question:
what about Sites with a lot of Traffic?
after 1_000_000 requests MySQL gets pretty slow (1,2s on my Laptop)
Considering the Web Vitals Metrics are just numbers, there could be an (optional) Scheduler task that combines and averages the values in tx_webvitalstracker_measure
for a page. The more traffic an instance has, the more frequent they could run the task.
Another way of limiting requests would be a "percentile-threshold" kind of configuration, where an admin could define a threshold of (for example) 0.25
, meaning that only every 4th request would actually be counted for measuring and the rest would be silently dropped. If someone wanted to count everything, they could just set it to 1
, equaling all requests.
from web-vitals-tracker.
Related Issues (3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from web-vitals-tracker.