latency

Sharepoint Web performance optimization

We are running on SSL on following server topology: 1 ISA (SSL Terminate/cache/proxy+AD authentication) 1 Sharepoint 1 IBM DB2 Database as enterprise/corporate DB 1 MS SQL Server as local DB We have recently optimized the caching, compression, minification, and other ASP.net best practices such as viewstate and cookie siz...

Is it possible to retreive the MS / Latency from a "GET" request? (Javascript / Jquery)

I am at the moment making some getjson requests with jquery. They are get requests: "GET http://localhost/MySite/JSON" Now you can watch the requests fire in firebug. Then they return a "200 OK 250ms". I would like to be able to display something similar on my page itself. So the user can see the latency for themselves. Image found vi...

Why is my number column not returning data?

I have a table, which I shall call table_name, for that is it's name. Table_name has two columns, column_a, a varchar column; and column_b, a number(10) column. I have a process which selects information out of column_b, using column_a in the where clause. For some reason, this process keeps lagging: I fire the process, and it never com...

Looking for a Google post on "How much time does it take do to X"

I remember reading a post by someone at Google with several ballpark statistics such as how much time does it take to: Obtain a lock Read/write a piece of data from registers, memory, disk, remote disk Fetch a page ... (Don't catch me on the exact statistics). Can you help me find this post? ...

Is there a way to detect an "almost" Remote Desktop disconnect (i.e., a brief period of high latency)?

I work for a trading company where our users interact with the primary trading application via a Remote Desktop connection to a server that's physically located within the exchange's facilities. A feature of our software is that it disconnects and pulls all quotes automatically if something goes wrong with the network and the RD session...

TCP handshake latency

I have 2 machines on a 100 Gb/s LAN which talk to each other over TCP. When I do a tracert or a ping from the client to the server, even a large ping, I get an answer in less then 1 ms. However, when I'm sniffing the TCP packets on the client side, I see that 40ms pass between the time it sends the first message of the 3-way handshake, t...

Simulate AJAX latency with a wrapping closure

I'd like to wrap Prototype Ajax.Request in order to simulate AJAX latency. I mean, using a closure and Prototype's delay() facility, but apparently there is something wrong with my code /* * Purpose: simulate AJAX latency when developing on localhost * What's wrong? */ Ajax.Request = (function(original) { return function(url, optio...

How do I calculate network speed: either "goodput" Bandwidth, or real Bandwith?

I'm trying to determine the latency and bandwidth between the server and various clients in a multi-tier system. I believe the easiest item to get is the "goodput" or the effective Application-layer rate, but the latency is a bit harder to get at, yet harder still is the true bandwidth that includes "window size" and other technical fac...

Mysql server has gone away in rails when the database is in a faraway data center

We have two data centers located across the globe. if we run the rails app in one datacenter and point to the database located in the other data center. The app throws MySQL server has gone away like once in every 5-6 web request. and show 5000 internal server error but if we put both the app and the mysql db in the same datacenter....

Typical latencies on unladen networks

I'd like to know typical round-trip times on networks in order to determine whether or not they will be the limiting factor in the latency of a whole application. Measuring it on a laden 100Mbps network here I get 95% of pings under 500µs with a median of 400µs. What are typical latencies on unladen networks and how does the bandwidth s...

Is reading from remote networked memory mapped file or device block faster than reading from Local 7200rpm HDDs?

Or rather how does remote RAM compare against local Disk access? If the answer is "it depends", what are the conditions? Data access patterns, ratio of read-to-writes, distance etc. Finally, what if the local disks are NetApp filers? Thanks. ...

Lower Network Latency

Hello! I am sure this is a very common question and may have been answered but I am unable to find proper solution. I have a server that needs to be highly available and should carry a very minimal network latency. I did some benchmarking on the server alone and noticed that it responds pretty fast at an avg of 300 ms. But the network l...

Networking problems in games

I am looking for networking designs and tricks specific to games. I know about a few problems and I have some partial solutions to some of them but there can be problems I can't see yet. I think there is no definite answer to this but I will accept an answer I really like. I can think of 4 categories of problems. Bad network The messag...

Measuring and explaing the events between socket.send to the packet actually leaving the box

I am trying to find out the total time it takes from the point where my C# application calls Socket.Send till the time the packet actually leaves the box. What is the best way/technique/methodology/tool to measure it? I'd like to know and explain and measure all that happens between Socket.Send or BeginSend from my C# application till t...

POST vs GET methods - at the network level, which is more impacted by latency?

Is there any difference in network communication for HTTP GET and POST requests? With GET, I understand that the entire request is sent in one go. With POST, I think the initial request is sent, and then a second request is sent which sends all the parameters. For example, assume that the latency between server and client is 500ms. Wha...

Winsock local loop-back latency

I'm using tcp sockets to provide interprocess communication between two apps on Windows XP. I chose tcp sockets for various reasons. I'm seeing an average round-trip time of 2.8 ms. That's much slower than I was expecting. Profiling seems to show that the delay is between one app calling send and the other end's blocking recv returning. ...

IP packet / timeout / interval control

Without a novel, I'll try to explain and hope it makes sense. We have an app that handles sending data to a server via simple HTTPS, no problem all works fine. HOWEVER, if the packets are sent via a satellite phone, the latency of transmissions is a lot longer than the typical milliseconds handled on land-line high-speed network acce...

Poor FTP Performance due to delayed Ack : Solutions exist for Android?

Hello, i have a Problem using FTP connection on Android 2.2 devices. My app uses AndFTP via intent and loads data from a FTP Server connected via Wifi to the handset. The FTP downloadspeed is only 7kByte/s. I had the same speed on my Windows XP Notebook, then i changed the delayed acknowledge setting. So now my Notebook reaches 30...