Rule out the server first
BASH
top -bn1 | head -20
free -m
iostat -x 1 3What a normal traceroute to Singapore looks like
BASH
mtr -rwbzc 100 YOUR_SINGAPORE_VPS_IPmtr combines traceroute and ping into one tool. The flags: -r for report mode, -w for wide hostnames, -b for both IP and hostname, -z for AS numbers, -c 100 for 100 packets. If mtr is not installed, a plain traceroute or tracert on Windows works too, but mtr gives you packet loss per hop, which matters here.
Save this output somewhere. If you do not have a "before" snapshot, ask a colleague or check if your monitoring tool has historical latency data. The comparison is what makes the diagnosis clear.
Reading the rerouted traceroute
hkg (Hong Kong), nrt (Tokyo Narita), lax (Los Angeles), or lon (London) in what should be a Jakarta-to-Singapore trace, your traffic is taking a scenic route. The AS numbers (shown by mtr -z) tell you which network is carrying the traffic at each hop. A sudden change in AS number at the latency jump confirms the reroute point.
3. Check for packet loss at the jump. Cable faults often cause not just higher latency but also packet loss, especially during the initial reroute while BGP converges. If you see 5-30% loss at the hop where latency spikes, that is consistent with a congested backup path.
4. Ignore ICMP timeouts in the middle. Some routers do not respond to traceroute probes (you see * * * or ???). That is normal and does not mean the path is broken. Focus on the hops that do respond and the pattern of latency changes.
A concrete pattern to watch for: your traffic leaves your ISP in Jakarta, goes to a domestic exchange point, then instead of crossing directly to Singapore, it heads to Hong Kong or further. The return path might be different too (asymmetric routing), which can make things worse.
Comparing before and after
- Hop count. A direct path might be 8-12 hops. A rerouted path might be 15-25 hops.
- Final hop latency. If it went from roughly 20 ms to 150+ ms (illustrative example), that is not server degradation. That is geography.
- Different transit networks. The AS numbers in the middle of the path will be different. The direct path might go through one or two transit providers. The rerouted path might traverse three or four, each adding their own queuing delay.
- New city names in hostnames. This is the most obvious tell. If Tokyo or Los Angeles appears in a trace that used to go straight from Indonesia to Singapore, you found the reroute.
mtr command to a different Singapore IP (a public DNS server, for instance) and to a server in a different country. If all Singapore destinations show the same latency spike but destinations in, say, the US or Europe look normal, the problem is specific to the Indonesia-Singapore path.
What you can actually do about it
- If your site serves mostly Indonesian users, put a CDN with local edge nodes in front of it. A CDN with a point of presence in Jakarta or Surabaya can serve cached static content without crossing the damaged cable path. Dynamic requests still need to reach Singapore, but at least images, CSS, and JS load fast.
- Adjust timeout values in your application or load balancer. If your app has a 5-second timeout for API calls to the Singapore backend, and latency just tripled, those calls will start failing. Temporarily increasing timeouts prevents unnecessary errors, though it makes things feel slower.
- Communicate with users. If you run a service, a status page note saying "elevated latency due to submarine cable disruption" is more helpful than silence.
- Consider a domestic VPS or cloud region. Several providers offer compute in Jakarta. Moving your origin server closer to your users eliminates the submarine cable dependency entirely for domestic traffic.
- Use a multi-region setup. Keep Singapore for international users and add a Jakarta node for domestic ones. DNS-based geographic routing or a CDN can direct users to the nearest origin.
- If moving the whole server is not feasible, at minimum move the database closer to the application server. A rerouted path adding 150 ms of latency means every database query from your app to a remote DB adds 150 ms. Multiply that by the number of queries per page load and the math gets ugly fast.
Verifying the fix
mtr command again:
BASH
mtr -rwbzc 100 YOUR_SINGAPORE_VPS_IP