laffra / happyweb Goto Github PK
View Code? Open in Web Editor NEWA simple script to measure internet connectivity to a variety of different endpoints
License: MIT License
A simple script to measure internet connectivity to a variety of different endpoints
License: MIT License
I'm playing around with happyweb and I am attracted to it's simplicity. However, I'm trying to wrap my head around the logic used to determine the status.
Here is happyweb running 'natively' on OSX - fully current Big Sure 11.6
Here is happyweb running on a Linux VM under virtual box on the same OSX machine - so we have a layer of virtualization, but still reasonable performance.
It is concerning that I have so much red in general - I'm only on 75/10 cable (down/up) .. but as a user the web feels pretty good.
It appears that the color of the tile is dependent on the 'load time' of the page.
It is concerning that in both examples - I see FAILED. This would indicate a 10second time-out to fetch the page? Or is the timeout parameter busted and not really 10 seconds?
From OSX native
% time curl https://www.netflix.com/ca
curl https://www.netflix.com/ca 0.02s user 0.03s system 9% cpu 0.483 total
From the virtual linux on OSX
$ time curl https://www.netflix.com/ca
real 0m0.372s
user 0m0.014s
sys 0m0.005s
I like the simplicity of happyweb, but I'm thinking that for my situation (and probably I'm not way out there in terms of network performance) I need the ability to easily specify the scale used to determine badness. Otherwise I'm left with a big page of red.
It might be nice to allow integration with Prometheus. This might help inform you about the happyweb status over time vs. just the 'right now' status.
I'd be happy to sketch out a PR if there is interest.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.