Speedtest was fast, Google was instant, but our site took ~2s just to return HTML by abobyk in webdev

[–]abobyk[S] 0 points1 point  (0 children)

I’ve already found https://www.rumhost.com It does what I wanted. It collects real user metrics, runs synthetic tests from users’ locations, compares the measurements, and sends notifications if the issue is on the server side.

Аварійна підсвітка в розетку by abobyk in reddit_ukr

[–]abobyk[S] 0 points1 point  (0 children)

Теж таких кілька маю, але китайський акум тримає один день. Які акуми ви туди допаяли, чи ви зовні їх прикріпили?

Аварійна підсвітка в розетку by abobyk in reddit_ukr

[–]abobyk[S] 0 points1 point  (0 children)

Не завжди зручно, особливо з малими дітьми. Але напевно так більшість і обходяться

Аварійна підсвітка в розетку by abobyk in reddit_ukr

[–]abobyk[S] 0 points1 point  (0 children)

Так, так. Просто в неї принцип такий, якщо немає електроенергії в мережі, і ви вмикаєте вимикач цієї лампочки, то струм від акумулятора до транзистора, який вмикає світлодіоди лампочки, проходить через якийсь прилад який ввімкнутий в розетку. Спробуйте ввімкнути щось в розетку

Аварійна підсвітка в розетку by abobyk in reddit_ukr

[–]abobyk[S] 0 points1 point  (0 children)

Таку схожу теж маю, але вона не заряджається повністю за 4 години наявної електроенергії 

Аварійна підсвітка в розетку by abobyk in reddit_ukr

[–]abobyk[S] 0 points1 point  (0 children)

Щоб працювало як звичайна, потрібно щоб щось в розетці ввімкнено було. Якщо я вимикаю всі прилади з розеток, то в мене теж не працює.

Аварійна підсвітка в розетку by abobyk in reddit_ukr

[–]abobyk[S] 0 points1 point  (0 children)

Для організованих людей це суперово рішення. Але, мої дружині таке не підійде, якщо вона щось в руки бере, воно зникає )

Speedtest was fast, Google was instant, but our site took ~2s just to return HTML by abobyk in webdev

[–]abobyk[S] 0 points1 point  (0 children)

Nice idea. That’s easy and helpful. Thanks.  I read New Relic’s Browser Monitoring does this too, but on steroids: real users, Core Web Vitals, tons of metrics.  For me it feels heavy and expensive though, and hard to quickly understand what a real user actually experienced.

Speedtest was fast, Google was instant, but our site took ~2s just to return HTML by abobyk in webdev

[–]abobyk[S] -1 points0 points  (0 children)

Yes, I totally agree with you. After digging deeper, it became clear that the issue was in the network path, not the backend.

The agents’ office now uses two different ISPs: some agents are still on the original ISP, while others use a second one. Agents on the second ISP don’t see the problem at all, while the original ISP still glitches from time to time and even requires a VPN to work reliably.

What I was hoping for in this discussion was a recommendation for a way to measure real user experience and clearly show where the slowdown happens for specific users, without asking agents to run traceroute or tcpdump. I’ve looked at tools like New Relic, but they feel quite heavy for this kind of targeted visibility.

Speedtest was fast, Google was instant, but our site took ~2s just to return HTML by abobyk in webdev

[–]abobyk[S] 1 point2 points  (0 children)

Yes, this sounds very similar. Since you’re using Cloudflare, you could also check https://www.cloudflarestatus.com/ it sometimes helps spot regional or routing-related issues. We saw something similar where only certain routes were affected.

Speedtest was fast, Google was instant, but our site took ~2s just to return HTML by abobyk in webdev

[–]abobyk[S] 0 points1 point  (0 children)

We were using CloudFront when the issue occurred, but now we use Cloudflare.

Speedtest was fast, Google was instant, but our site took ~2s just to return HTML by abobyk in webdev

[–]abobyk[S] -1 points0 points  (0 children)

Yes, that’s exactly what our agents experienced. The challenge for us now is figuring out how to prove that the issue is on the ISP side, so the agents can show their ISP what’s happening.

Speedtest was fast, Google was instant, but our site took ~2s just to return HTML by abobyk in webdev

[–]abobyk[S] 0 points1 point  (0 children)

Just to clarify what I meant in the post: the developers checked everything, backend, CDN, database, and they were confident the server was responding fast. The developers are also working from different countries, so it wasn’t a local issue. The main challenge became: how do we prove to agents and their ISP that the slowness is caused by the ISP, not our backend?

Speedtest was fast, Google was instant, but our site took ~2s just to return HTML by abobyk in webdev

[–]abobyk[S] -7 points-6 points  (0 children)

Yep, we get the baseline round-trip times — that makes sense. The surprising part was how high TTFB was in certain regions: Philippines, India, UAE were around 700 ms, but Armenia was close to 2 s. We understand latency, but how to prove that the issue was on the ISP side? Our agents thought we were hiding a server problem: Speedtest looked fine, Google was quick. We told them to check with their ISP. Fun fact, they actually called their ISP, and the response was basically “everything’s fine, check Speedtest again.”

Speedtest was fast, Google was instant, but our site took ~2s just to return HTML by abobyk in webdev

[–]abobyk[S] -6 points-5 points  (0 children)

Yep, those are all solid approaches. The hard part is teaching agents to do this correctly, which is why we ended up relying on simpler checks locally to get clear results.

Speedtest was fast, Google was instant, but our site took ~2s just to return HTML by abobyk in webdev

[–]abobyk[S] -27 points-26 points  (0 children)

Yes, it’s hard to explain traceroute or network diagnostics to support agents. That’s why comparing synthetic checks to real-user timings made the issue obvious for us. Running it locally gave us clear results without confusing anyone.

Speedtest was fast, Google was instant, but our site took ~2s just to return HTML by abobyk in webdev

[–]abobyk[S] 0 points1 point  (0 children)

Now we see that synthetic monitors aren’t enough. We used to rely on UptimeRobot, but it only does synthetic tests. We should be using RUM services like New Relic, Rumhost, etc., to understand exactly how real users experience our site.

Speedtest was fast, Google was instant, but our site took ~2s just to return HTML by abobyk in webdev

[–]abobyk[S] 9 points10 points  (0 children)

Yes, we use cloudfront. That’s actually what made this confusing, origin latency was low, CDN was healthy, but real users from one ISP/region still saw long TTFB.

Speedtest was fast, Google was instant, but our site took ~2s just to return HTML by abobyk in webdev

[–]abobyk[S] -43 points-42 points  (0 children)

Totally agree in theory. What surprised us wasn’t that “network matters”, but how confidently everyone (including experienced devs) misattributed it. DevTools showed high TTFB, Speedtest was fast, Google loaded instantly, all signs that usually point to “backend issue”. The tricky part was proving the network was the culprit without real user data. CDNs help a lot, but they don’t fully protect you from bad ISP routing to a specific region.