SShortSingh.
Back to feed

Benchmarks of 60 Nepal sites find local shared hosting beats Hetzner VPS and AWS Singapore on speed

0
·5 views

A hosting provider tested 60 production websites across shared hosting in Kathmandu, a Hetzner VPS in Germany, and AWS Singapore over a 14-day period in November 2026. Traffic came from Kathmandu, Pokhara, and Biratnagar across WorldLink, Subisu, and Vianet connections, covering WordPress, static/Next.js, Laravel/API, and e-commerce sites. The shared Kathmandu tier recorded a median time to first byte of 12 ms, compared with 142 ms on the VPS and 287 ms on AWS, which the authors attribute to local points of presence keeping requests inside Nepal. The study also reported higher first-contact support resolution and lower three-year costs for the shared tier, with all source code and raw data published on GitHub.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Fixing sideways and squashed phone video uploads by reading FFmpeg's display matrix

Portrait phone videos often store landscape-oriented frames alongside a display matrix that instructs players to rotate them on playback. Pipelines that ignore this matrix can produce sideways video, portrait content squashed into landscape frames, or lost rotation after stream copies into MPEG-TS. The author reproduces these failures using FFmpeg 6.1.1, hls.js 1.7.4, and Chromium 158, showing that ffprobe reports the rotation in side data rather than in tags. Tests show that FFmpeg autorotates before applying filters, which causes the squashing, while fMP4 preserves the matrix where MPEG-TS does not. The proposed fix is a shared Python helper that applies the rotation before any layout, thumbnail, or ladder decisions.

0
ProgrammingDEV Community ·

Document Picture-in-Picture lets custom video players keep their controls

Standard video.requestPictureInPicture() only pops out the raw video, which drops any custom controls. The Document Picture-in-Picture API instead opens an always-on-top window that can hold your own DOM. The approach moves the live player node into that window without cloning it, so playback continues uninterrupted. Styles must be copied over and keyboard shortcuts rebound, since listeners on the original document stop firing while the PiP window has focus. The author tested it in Chromium 158 with hls.js, and browsers without the API, such as Safari, need to fall back to classic PiP.

0
ProgrammingDEV Community ·

How to implement TOTP in Node.js without packages, verified against RFC 6238

A DEV Community guide explains that a rejected authenticator code can be traced to one of four steps: decoding the secret, converting time into a counter, computing the HMAC, or truncating to six digits. It supplies a dependency-free Node.js implementation for each step. The RFC 6238 test vector is used to verify results, with the 8-digit code 94287082 and 6-digit code 287082 at 59 seconds. The walkthrough includes a Base32 decoder, big-endian counter encoding, and dynamic truncation with zero-padding. Command-line and HMAC-tool checks are suggested for isolating each stage.

0
ProgrammingDEV Community ·

How to Tell What Technology a Website Is Built With

Identifying a website's tech stack relies on publicly visible clues rather than special access. Users can view page source to look for generator tags and platform-specific paths such as /wp-content/ for WordPress or /cdn/shop/ for Shopify. Response headers and cookies viewed in browser developer tools can also reveal the server and platform. Automated technology detectors gather these same signals at scale, though they may miss tools loaded later by JavaScript. Results from any method should be treated as leads to confirm rather than guaranteed facts.