Website Load time - Is India based server responsible - performance

My website has nearly all the traffic from India so I decided to go with an India based VPS because I was told that it would reduce the load time. Although it was costly than US based server I signed up for it. Now I am facing an issue that whenever I check the load time from pingdom or GTMetrix they give me more than 12 secs but when I visit from my office or home PC it takes very less time.
Do you think that pingdom and GTMetrix are giving wrong time because the isp they use to test is US based. Is there any way that I can find out the load time from my PC using my internet connection/ISP. Which I can download and install and which uses my internet connection to perform load test?
My server IP is 103.14.96.209 and
Domain is muthootfinance.com
Also If i ping it using cmd command the ping time is only 32secs but if I ping using online services like pingdom the ping time comes more than 300 secs. Please help me out.

It looks like the response times are much faster when pinging from an Indian machine (see here &vaction=ping&ping=start">http://cloudmonitor.ca.com/en/ping.php?vtt=1380725309&varghost=103.14.96.209&vhost=&vaction=ping&ping=start)

Related

How to check how many DNS requests my squid server makes?

I'm using Squid 3.5 on windows 2012 server and I want to know how many DNS requests my server makes.
Some more details:
I suspect it makes a dns query on every request and produces a slightly added latency that could be avoided.
Is there any means of finding out this info? I have tried squidclient mgr:5min and it shows how long dns requests take on average, but doesn't show the count.
My dns.median_svc_time reads 0.025624 seconds, and it's fine as long as it caches those responses, but if it's 25 msec added to every request, then this is totally unacceptable.
Yes, squid should be able to give you the info you want via cache manager. It provides FQDN stats and a full IP Cache summary (Which I suspect is more what your looking for)
Have a look at the docs here for the fqdn info and here for the full ipcache details, it gives details of what they both mean/provide.
You access these via;
http://localhost/cgi-bin/cachemgr.cgi?host=localhost&port=3128&user_name=&operation=fqdncache&auth=
http://localhost/cgi-bin/cachemgr.cgi?host=localhost&port=3128&user_name=&operation=ipcache&auth=

Azure Mobile App - How can a ping takes 7 seconds?

I'm trying to improve my azure mobile app performance.
However just calling the web app root url (azure static "This mobile app is up and running" page) with fiddler can take up to 7 sec.
I'm lost how it's even possible and what I can and should do to improve it.
My current plan is B1 and "Always On" is On.
UPDATE
The long time where a combination of two things:
Long DNS Lookup
Log warmup of the mobile app after a deployment
Both issues can be addressed differently. For the warmup, check #arianhall answer below (which I marked as correct). For DNS lookup it can be many things. In my case the problem was broader: my ipv6 dns server was bad and it wouldn't switch to ipv4 after some timeout.
ps: and it's not a ping I was doing but a webpage load as azurewebsites don't accept ping anyway.
Irrespective of whether AlwaysOn is on or not, the first request after a deployment results in a "wake-up" cost. To fix that, you need to warm up the site. This blog post will describe how to do this: http://ruslany.net/2015/09/how-to-warm-up-azure-web-app-during-deployment-slots-swap/

Compress and copy same time to another server - slow

i have a big problem. I need tranfer a lot of files by a server to another server, but the second server isnt a local server. If i tranfer by a local server i cant 100mbs but if i send for another server out the speed is 2mbs. my network is 1gbs. I use a command line 7z.
If your servers are (as you wrote) on the same network and connected through the same line you are most likely to have a network connection problem.
I've often seen that the duplex settings of network cards are not set up correctly which leads to a lot of collisions.
Check your network card settings and try to force for example 100mbps full duplex.
I work for a company where this happens daily when trying to connect IBM network cards with Cisco switches. Have a look here how to set up duplex settings: https://superuser.com/questions/86581/how-do-you-check-the-current-duplex-value-of-a-network-card-set-to-auto-negotiat.
If this doesn´t help you might be better off asking at superuser.com

Slow Apache response

I have a high performance softlayer server. I am only running a (php-based. It's not an IRC server) chat room on this server. It works all fine. On average server response (for chat room) is 100MS with 100+ concurrent users. Some days ago a user threat to ddos our server. Now the server is so slow. On average ping time is 1500-2000MS with just 50-60 users. There is no high resource usage or bandwidth usage. I did following things to protect my server:
1 - DDOS protection (softlayer providers it)
2 - Install mod qos and evassive for appache
3 - Disabled ping of death and Syn packets
I performed following analysis:
1 - Analyzed apache logs. There isn't any frequent request from same IP or CLRF packets.
2 - Not many UDP packets
3 - Checked connections per IP and they are all normal.
However, nothing is working. That user threats and kills our time whenever he says/wants. Is there any other thing I should look into to protect my server? What kind of attack he could make to do this?
My guess is going to be they are exhausting your apache workers (usually a default of 150), you might want to check to see how many apache threads are currently running, and if its ~150 that might be why you have slow response times.
Some good reading on apache performance tuning.
http://httpd.apache.org/docs/2.2/misc/perf-tuning.html
http://www.monitis.com/blog/2011/07/05/25-apache-performance-tuning-tips/
https://www.devside.net/articles/apache-performance-tuning
The output from the following commands might also be useful in figuring out whats going on.
See whats running
ps auxf
See what apache is doing by turning on server-status (http://httpd.apache.org/docs/2.2/mod/mod_status.html)
apachectl fullstatus
See whats going on with network connections
netstat -npl
Anyway, I hope that helps point you in the right direction.

Network, improve connecting time

I noticed that the connecting time for my site is slower than for the other sites that I have tried. 100 - 200 ms.
I am referring to the connecting time on the Network tab (dns lookup, connecting,waiting, etc.)
How can I improve it? Is it just something that is controlled by my host (Webfaction) or can I change some settings? I am the only person on my site at this time. DNS lookup is fast, not sure if that's relevant.
Site opening slow for that there are so many reason or parameter affect.
Bandwidth on server.
traffic on Server in term of request with its data size.
some Network issue like DNS is resolving your query quite slow. (use 4.2.2.2 or 8.8.8.8 DNS server)
Last but not have much probability that some on attack on network of doing flooding.
my suggestion to verify your Server Bandwidth and new HTTP connections per second.
also look that some uploading or downloading is going on or not.

Resources