Tag: ping

Running 1000 tests in 1s

📖 tl;dr: Most code doesn’t require the amount of test isolation modern test runners apply by default. If you only opt into the amount of isolations you need, you can easily run 1000 tests in 1s. Recently, I tweeted that the whole test suite for Preact, a modern framework to build web apps, runs in approximately 1s. It’s composed of… ...
Continue Reading Running 1000 tests in 1s

Reliably Send an HTTP Request as a User Leaves a Page

On several occasions, I’ve needed to send off an HTTP request with some data to log when a user does something like navigate to a different page or submit a form. Consider this contrived example of sending some information to … Reliably Send an HTTP Request as a User Leaves a Page originally published on CSS-Tricks, which is part of the DigitalOcean family. You should get the newsletter. ...
Continue Reading Reliably Send an HTTP Request as a User Leaves a Page

How to ping from an Azure App service with TCPPING

Maybe you are used to ping services to check whether they respond or not. It works well using a local console, but within the Azure portal you must use another command: tcpping. ...
Continue Reading How to ping from an Azure App service with TCPPING